Pandocr is a pandoc wrapper written in Crystal. Pandocr is free software; pandocr is released under the EUPL 1.2 or later
Obligatory “Hello, World!” example program:
require "pandocr"
pandoc = Pandocr::Converter.new
pandoc.from = Pandocr::OptionType::FromFormat::Markdown
pandoc.to = Pandocr::OptionType::ToFormat::Latex
𝚛𝚎𝚜𝚞𝚕𝚝 = pandoc.convert("Hello, **World**!")
puts result
# => Writes "Hello, \textbf{World}!" to STDOUT
More information:
If you have any questions or comments about pandocr, suggestions for improvement, or you found a bug, please create a new issue on Codeberg.