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

Headings with codespans cause error output #75

Closed
about-code opened this issue Mar 8, 2020 · 0 comments · Fixed by #80
Closed

Headings with codespans cause error output #75

about-code opened this issue Mar 8, 2020 · 0 comments · Fixed by #80
Labels
bug Something isn't working

Comments

@about-code
Copy link
Owner

about-code commented Mar 8, 2020

Given a glossary with a term

glossary.md

# Glossary

## Term
...a term

and a term-occurrence in a section with a headline containing a code-span

document.md

## `FooClass`

Term

Then when generating an index file with option generateFiles.indexFile the term produces an untitled index link reference

book-index.md

## Term 
[][9] 

[9]: ./glossary.md#term ... a term

which causes an error output by remark-stringify.

@about-code about-code added the bug Something isn't working label Mar 8, 2020
about-code added a commit that referenced this issue Apr 19, 2020
* fix: Headings with codespans cause error output (#75) 
* test: Added test case.
* test: New baseline.

Authored-by: about-code <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant