remark-cite
remark-cite copied to clipboard
Adds support for pandoc-style citations to the Markdown syntax for the remark and micromark parsers.
remark-cite does not work with newest micromark parser as [mdast-util-from-markdown 2.0]( https://github.com/syntax-tree/mdast-util-from-markdown/releases) introduced breaking changes. I updated it to the new API. Note: I did not tested the `citeHtml` function...
Hi, does this also support the pandoc "author-in-text" (without square brackets) way of referencing? From https://pandoc.org/MANUAL.html#citation-syntax: ``` @smith04 says blah. @smith04 [p. 33] says blah. ```
This plugin does not work anymore with [version 2.0](https://github.com/syntax-tree/mdast-util-from-markdown/releases/tag/2.0.0) of mdast-util-from-markdown: https://github.com/syntax-tree/mdast-util-from-markdown/releases.
Need to carry over '?' to typecast declaration. I do not believe tests are not catching this.
First off, thanks for the project. Hat tip for the tidiness. 🎩 I'm not sure if there is just something off with my environment, but it might be an opportunity...
This seems to fix #1 by exporting a default method. I've also ensured `options` is set, because otherwise I got an exception: ``` 1:1 error TypeError: Cannot read property 'syntax'...
I wanted to use this plugin together with milkdown but noticed that some type definitions in the dependencies seem to have changed. So I have tried to update these. Since...
I'm trying to use Remark (via `remark-cli`) to ensure uniform formatting in my Markdown documents; as I use Pandoc I'd like to use `remark-cite` to preserve the citations (as otherwise,...
`rehype-cite` * use `dataCite` instead of `data-cite` * publish `/dist/rehype-cite.css` * inline citations which appear alone in a paragraph will be rendered as "block citations", similar to a bibliography entry...