I am using Pandoc to export from Markdown to Markdown to convert inline links to reference links. In this process Pandoc additionally adds many \ backslash characters before special characters.
Is there a way I could prevent this additional behaviour of new \?
Example: The price is $100. becomes The price is \$100. after running Pandoc once, and it keeeps on adding \, next time it becomes The price is \\$100. and then The price is \\\$100.
Command Used:
PandocExtension="-f markdown-auto_identifiers-all_symbols_escapable -t markdown-all_symbols_escapable-auto_identifiers+table_captions-multiline_tables-simple_tables-grid_tables+pipe_tables-fenced_code_blocks-fenced_code_attributes+backtick_code_blocks"
PandocOption="-s --wrap=none --columns 10000 --atx-headers --reference-links --tab-stop 2"
pandoc ${PandocOption} ${PandocExtension} "${Source}" -o "${Output}"