rubensworks / ScholarMarkdown

A framework for writing markdown-based scholarly articles.
MIT License
41 stars 9 forks source link

references are added, even when commented out #11

Closed bjdmeest closed 6 years ago

bjdmeest commented 6 years ago

eg

Text citing [a](cite:cites a).

<!--
Commented text citing [b](cite:cites b).
-->

Will result in a reference list of 2. The actual issue is https://github.com/RubenVerborgh/BibMarkdown/issues/5 , However, maybe add a comment int the wiki?

rubensworks commented 6 years ago

The reason for this is that the references are processed before the kramdown, so the comments are still present in this step.

What we could do is simply add a comment-removal phase before the processing of references.

@RubenVerborgh Do you agree? Or do you think handling this in BibMarkdown would be easier?

RubenVerborgh commented 6 years ago

BibMarkdown should probably do this.

rubensworks commented 6 years ago

Ok, closing this here then.