Obsidian plugin which integrates your academic reference manager with the Obsidian editor. Search your references from within Obsidian and automatically create and reference literature notes for papers and books.
This HTML rendering also appears in the new note autocomplete list.
Note in Obsidian's default view:
Platform
OS: macOS 13.1
Obsidian version 1.1.9
Plugin version 0.4.5
Additional context
Perhaps the Handlebars library is being "helpful" by assuming you mean to create subscripts with _ as in LaTeX math (and I assume other cases, like superscripting with ^ but I haven't tested other cases).
In the case of the file name, the plugin is translating the angle brackets and forward slash (which are disallowed in file names) into underscores.
Duh. Just figured it out. Escape underscores with \, e.g., Snake\_Case in the BibLaTeX file. It's been a while since I've written academic papers, so my LaTeX is rusty. Should have been my first thought.
Describe the bug
If you put certain characters in BibLaTeX entries and use those entries in a template, they are rendered as HTML elements.
To Reproduce
Minimum working example:
{{title}}
and your Literature note content template toExpected behavior
A new note with template entries as they appear in the BibLaTeX database, not rendered to HTML.
Actual behavior
A note is created with the title
Snake_sub_c__sub_ase.md
and contents:Using HTML escaping,
{{{title}}}
, doesn't help.Screenshots
This HTML rendering also appears in the new note autocomplete list.
Note in Obsidian's default view:
Platform
Additional context
Perhaps the Handlebars library is being "helpful" by assuming you mean to create subscripts with
_
as in LaTeX math (and I assume other cases, like superscripting with^
but I haven't tested other cases).In the case of the file name, the plugin is translating the angle brackets and forward slash (which are disallowed in file names) into underscores.