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

Formatting error under “YAML diagnostics” heading #44

Closed
bigsmoke opened this issue Jan 25, 2023 · 0 comments · Fixed by TestAnything/testanything.github.io#175
Closed
Assignees

Comments

@bigsmoke
Copy link

In http://testanything.org/tap-version-14-specification.html , there is a formatting error under the “YAML diagnostics” heading:

image

This seems to be caused by a Markdown processor that is configured to convert --- into a Unicode em dash (‘—’) and thereby somehow eating the backtick after the --- in the source document. Here's the relevant source fragment.

If a Test Point is followed by a 2-space indented block beginning with the
line `  ---` and ending with the line `  ...`, separated from the Test

One solution would be to use --- instead of backticks in the source document, to let it be treated as raw HTML. However, this will not have the desired result when generating output formats other than HTML.

I think the right approach is to configure the Markdown processor to not bother with translating --- into em dashes and instead configure your keyboard to easily type these directly, if so desired.

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 a pull request may close this issue.

2 participants