Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Cleaner blocks with single class #75

Open
srid opened this issue May 29, 2021 · 1 comment
Open

Feature: Cleaner blocks with single class #75

srid opened this issue May 29, 2021 · 1 comment

Comments

@srid
Copy link

srid commented May 29, 2021

Basically a port of jgm/pandoc#7242 to support simpler div's like this:

:::warning
This project is a *work in progress*.
:::
@jtojnar
Copy link

jtojnar commented Jun 6, 2021

@jgm I can open a pull request if you think this is reasonable.

jtojnar added a commit to jtojnar/nixpkgs that referenced this issue Jun 7, 2021
We are still using Pandoc’s Markdown parser, which differs from CommonMark spec slightly.

Notably:
- Line breaks in lists behave differently.
- Admonitions do not support the simpler syntax jgm/commonmark-hs#75
- The auto_identifiers uses a different algorithm – I made the previous ones explicit.
- Languages (classes) of code blocks cannot contain whitespace so we have to use “pycon” alias instead of Python “console” as GitHub’s linguist

While at it, I also fixed the following issues:
- ShellSesssion was used
- Removed some pointless docbook tags.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants