mirror of
https://github.com/cincheo/jsweet.git
synced 2025-12-15 07:19:22 +00:00
22 lines
679 B
Markdown
22 lines
679 B
Markdown
# JSweet documentation
|
|
|
|
This sub-project contains JSweet documentation.
|
|
|
|
## How to build
|
|
|
|
To generate the markdown language specifications from the Latex source file with [Pandoc](http://pandoc.org/):
|
|
|
|
```
|
|
> cd doc
|
|
> pandoc -r latex -w markdown_github --base-header-level=2 -s --toc --number-sections -B header.md -o jsweet-language-specifications.md jsweet-language-specifications.tex
|
|
```
|
|
|
|
Note that the following command will output the document in HTML:
|
|
|
|
```
|
|
> pandoc -r latex -w html5 --base-header-level=3 -o jsweet-language-specifications.html jsweet-language-specifications.tex
|
|
```
|
|
|
|
## License
|
|
|
|
This documentation is licensed under the Creative Commons license: CC-BY-SA. |