Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.01 KB

example.md

File metadata and controls

51 lines (38 loc) · 1.01 KB
title authors affiliation keywords
Example
Martino Ferrari
University of Geneva
MarkDown, SciDown, Examples, Language, Semantic, Syntax

@abstract In this document I will illustrate few simple examples of SciDown the scientific extension of MarkDown.

The purpose of this language is to add few basic, but yet missing, functionality to MarkDown to publish scientific and scholar documents.

All the basic MarkDown syntax still work on SciDown. @/

Floating Elements

In this section I will show how to use floating elements, such as:

  • Figure
  • Listing
  • Table
  • Equation

Figure

The following code (#code:test) shows a simple code:

@listing(code:test)

int main(int argc, char *argv[])
{
  std::cout<<"Hello World\n";
  return 0;
}

@caption(Simple test code. @/

Figure (#code:diagram) shows the diagram of the code presented in the listing (#code:test):

@figure(code:diagram)

graph LR
A((Start))-->B("print 'hello world'")
B --> C[End]
Loading

@caption(Simple diagram) @/