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

Back ticks fail to terminate a meta named fenced codeblock. #55

Open
grosenberg opened this issue Nov 30, 2016 · 0 comments
Open

Back ticks fail to terminate a meta named fenced codeblock. #55

grosenberg opened this issue Nov 30, 2016 · 0 comments

Comments

@grosenberg
Copy link

grosenberg commented Nov 30, 2016

Added a custom block emitter to process blocks like


``` dot

digraph M1{ 
	node[shape=box width=1.1]
	dot[label="Graphviz\nDOT"]
	zestCode[label="Zest\ngraph"]
	zestVis[label="SWT\napp"]
	image[label="Image\nfile"]
	
	dot->image//[label=" Graphviz"]
	dot->zestCode[constraint=false color=black style=dashed label="            " dir=both]
	zestCode->zestVis//[label=" Zest"]	
}

~~~

Problem is that when the trailing delimiter of the code block is three back-ticks: ```, the list of lines delivered to the custom BlockEmitt#emitBlock includes every line from the first line of fenced code to the end of the document.

If the trailing delimiter is changed to ~~~, as show above, TxtMark behaves correctly.

If the custom block emitter is not used, the problem remains when using the trailing back-tick delimiter.

Suggests that something in this Dot content is messing with TxtMark. Just don't see what it is.

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