Closed mauromorales closed 4 years ago
Calling: PandocRuby.new(content, :smart) will raise the following error:
PandocRuby.new(content, :smart)
--smart/-S has been removed. Use +smart or -smart extension instead. For example: pandoc -f markdown+smart -t markdown-smart. Try pandoc --help for more information.
$ pandoc --version pandoc 2.2.1 Compiled with pandoc-types 1.17.4.2, texmath 0.11, skylighting 0.7.1
Apologies for the delayed response! Extensions can be added to the reader or writer name. For example:
PandocRuby.new("Line 1\n# Heading", from: 'markdown_strict+blank_before_header').to_html
Thanks!
Calling:
PandocRuby.new(content, :smart)
will raise the following error: