-
-
Notifications
You must be signed in to change notification settings - Fork 170
Closed
Description
In the README of my crate, a Markdown table placed under a list element doesn't render correctly, even with the correct indentation. This works fine on GitHub, and it would be nice if comrak was able to support this too.
For context, look at the Environment Variables section in both of these:
GitHub README: https://github.com/ajeetdsouza/zoxide#environment-variables
crates.io README (rendered with Comrak): https://crates.io/crates/zoxide
The following is an example of a table within a list in Markdown:
- Root 1
- Item 1
- Item 2:
| OS | Path | Example |
| ----------- | ---------------------------------------- | ------------------------------------------ |
| Linux / BSD | `$XDG_DATA_HOME` or `$HOME/.local/share` | `/home/alice/.local/share` |
| macOS | `$HOME/Library/Application Support` | `/Users/Alice/Library/Application Support` |
| Windows | `{FOLDERID_RoamingAppData}` | `C:\Users\Alice\AppData\Roaming` |It should render this way:
- Root 1
- Item 1
- Item 2:
OS Path Example Linux / BSD $XDG_DATA_HOMEor$HOME/.local/share/home/alice/.local/sharemacOS $HOME/Library/Application Support/Users/Alice/Library/Application SupportWindows {FOLDERID_RoamingAppData}C:\Users\Alice\AppData\Roaming
Metadata
Metadata
Assignees
Labels
No labels