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

Could not find closing delimiter should not do anything special #2

Closed
Frenzie opened this issue Apr 5, 2017 · 0 comments
Closed

Could not find closing delimiter should not do anything special #2

Frenzie opened this issue Apr 5, 2017 · 0 comments

Comments

@Frenzie
Copy link
Contributor

Frenzie commented Apr 5, 2017

This problem showed up in the very first test document I tossed at the program, which included this link:

http://wiki.tei-c.org/index.php/Publishing_printed_critical_editions_from_TEI

That results in the following error:

./md.lua:127: Could not find closing delimiter "_".

Going by pandoc and GitHub _ isn't supposed to do anything in the middle of words (cf. here and here), but aside from that the expected behavior is to ignore the "problem":

Input:

asdf*bla*asdf*asdf

Expected:

<p>asdf<em>bla</em>asdf*asdf</p>

What is imo the Markdown spec to go for can be found at http://spec.commonmark.org/ but for test ideas I find https://github.com/karlcow/markdown-testsuite/tree/92d125d8d97f1c01191c84404b13319f60b38502/tests a little easier to browse than the tests/examples embedded in the spec.

Anyway, neat project! :-)

Edit: oh, never mind. There's a GitHub page with some interesting tools for the tests: https://github.com/jgm/CommonMark/tree/f3ceed3013a6b719af91dc3323f3888e9dbe8406#running-tests-against-the-spec

Frenzie added a commit to Frenzie/luamd that referenced this issue Apr 5, 2017
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

1 participant