lmt icon indicating copy to clipboard operation
lmt copied to clipboard

Tangle file not being made, and no errors being displayed

Open tlehman opened this issue 3 years ago • 1 comments

I wrote a literate program blog post implementing a quicksort, and the first draft tangled, but this final draft did not tangle: index.md

I went through the README and the Implementation in this repo, and couldn't find anything wrong with the syntax. Am I doing this wrong or is this a bug?

tlehman avatar Jan 03 '22 06:01 tlehman

I don't know if you figured it out or not, but it bit me recently, and I found the issue after reading the source code (https://github.com/driusan/lmt/blob/62fe18f2f6a6e11c158ff2b2209e1082a4fcd59c/main.go#L77). It expects a newline after the code block ends. So if you have a code block at the end of the file, you need to add an empty line after it.

heraldofsolace avatar Oct 18 '22 07:10 heraldofsolace