Run the preview through pandoc and give users the ability to control options?

I was comparing Obsidian markdown versus Pandoc markdown and come up with list of Pandoc extension. List is probably not complete one, and likely it’s easier to use gfm (GitHub-Flavored Markdown) as a format. Still posting it here just in case, as it helped me understand features and possible deviations with other editors.

  • space_in_atx_header
  • backtick_code_blocks
  • task_lists
  • pipe_tables
  • intraword_underscores
  • strikeout
  • tex_math_dollars
  • raw_html (but without markdown inside)
  • shortcut_reference_links
  • footnotes
  • inline_notes
  • all_symbols_escapable
  • lists_without_preceding_blankline

As this forum has some different markdown, you may copy below in Obsidian for some illustration.

- space_in_atx_header
 \# without space after is a hashtag not a header
- backtick_code_blocks
- task_lists
 - [ ] task
- pipe_tables
- intraword_underscores
 feas*ible*, not feas_able_
- strikeout
 This ~~is deleted text.~~
- tex_math_dollars
 $a = b$
- raw_html (but without markdown inside)
	<table>
	<tr>
	<td>*one*</td>
	<td>[a link](https://google.com)</td>
	</tr>
	</table>
	
- shortcut_reference_links, see [link] 

[link]: http://foo.bar.baz

- footnotes [^footnote] (numbered automatically) [^3], multi line supported 
 [^footnote]: footnotes 
 fafef
 [^3]: it's two
- inline_notes^[Inlines notes are easier to write, since you don't have to pick an identifier and move down to type the note.]

- all_symbols_escapable
 \<one two\>

- lists_without_preceding_blankline

1 Like