Skip to content

Nadi-System/nadimd2typ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nadi Md to Typst Converter

This program parses a Markdown file with Nadi Tasks and executes them and renders them as a Typst (or a markdown) file.

You can compile it with typst compiler to generate PDF, HTML, SVG, and PNG.

The screenshot below shows an output PDF (right) side by side with the Markdown file used to generate it on left.

Screenshot

The commands used to generate this file is:

cargo run -- test.md -p pre.typ 
typst compile test.typ

The pre.typ contains come prelude for the typst file to have a better rendering as well as syntax highlighting for nadi syntax.

You can find the generated test.typ file as well as compiled test.pdf file in this repo, along with the source code test.md

About

Markdown File to Typst renderer with Nadi Code execution

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors