Skip to content

Support tables and LaTeX in markdown #63

Description

@MattFisher

Substack node types identified during the markdown-it rewrite (PR #61) that have no current Markdown support. Tables were called out explicitly in that PR as the intended first follow-up.

Tables

Standard GFM table syntax:

| Column A | Column B |
| -------- | -------- |
| Cell 1   | Cell 2   |

LaTeX / math blocks

$$...$$ fenced math syntax mapped to Substack's latex_block node:

{"type": "latex_block", "attrs": {"persistentExpression": "E=mc^2", "dirty": true}}

The mdit_py_plugins package ships a dollarmath plugin that handles parsing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions