Specify a title in the text and Markdown files by leaving two blank lines after the first line: ``` This is a title
First line of text
The first line will then be used as the title for generated html file, and the generated html body will include a ``<h1>`` tag with the title:
First line of text
```
Excluding the title, specify the end of a paragraph and the start of a new paragraph by seperating them with blank lines: ``` This is a title
First line of first paragraph
First line of second paragraph
Second line of second paragraph
This will result in two ``<p>`` tags in the generated html:
First line of first paragraph
First line of second paragraph Second line of second paragraph
```
```
```
```
will be converted into
html
[This is a link](https://www.example.com)
will be converted to
html
<a href="https://www.example.com">This is a link</a>
Any text before or after the markdown in the same line will be preserved as is
./rost_gen --input ./file_to_convert.txt
or to convert "filetoconvert.md" in current directory:
./rost_gen --input ./file_to_convert.md
./rost_gen -i ./folder_with_input_files
./rost_gen -i ./file_to_convert.txt -o ./custom_output_dir
./rost_gen -i ./file_to_convert.txt -l fr
This will update the lang tag of the html tag in the generated html file:
html
<html lang="fr">
...
``` ./rost_gen -c ./ssg-config.json
```