Table
Overview
GitHub Flavored Markdown table is supported.
The rendering is powered by markdown-itopen in new window.
Some features are not available in tables.
Formatting
A formatter is registered via VS Code APIopen in new window.
"Format Document"open in new window to invoke it.
Caveats
The GFM table strictly follows CommonMark's "first block, then inline" parsing strategy. Thus, a pipe (|
, U+007C) is always recognized as cell separator, unless you escape it (\|
). (github/cmark-gfm#24open in new window)
Be careful!
You have to escape pipes even if they are in code spans. (#24open in new window, #1000open in new window)
You cannot use pipes (absolute value symbol) in math spans inside a table. (#259open in new window, #318open in new window)