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

Unit tests #2

Merged
merged 37 commits into from
Dec 12, 2022
Merged

Unit tests #2

merged 37 commits into from
Dec 12, 2022

Conversation

lostenderman
Copy link
Owner

No description provided.

Andrej Genčur and others added 30 commits November 20, 2022 11:14
- `backslash-escapes.test` duplicates `backslash_escapes/001.test`
- `fenced-code.test` duplicates `fenced_code_blocks/*.test`
Since URLs can be used as either programming strings or typographic
material, we produce both escaped and non-escaped variants, see
<https://witiko.github.io/markdown/#link-renderer>. The non-escaped
variant only escapes the left brace (`{`), the right brace (`}`), and
the backslash (`\`).

However, in unit tests, we only show the non-escaped variant for
improved readability, see [file `tests/support/plain-setup.tex`][1].

 [1]: https://github.com/Witiko/markdown/blob/c9ae738aeef79668f28177125e0c7c9c1517601e/tests/support/plain-setup.tex#L52-L57
Options `breakableBlockquotes`, `fencedCode`, and `html` should be
enabled by default for CommonMark compliance.
@lostenderman lostenderman merged commit 22e63a1 into main Dec 12, 2022
lostenderman pushed a commit that referenced this pull request Jan 12, 2023
…derer-prototypes

Use just the first word from `#2` to determine language in `\markdownRendererInputFencedCodePrototype`
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

Successfully merging this pull request may close these issues.

2 participants