obsidian-tracker
obsidian-tracker copied to clipboard
Markdown support in the summary view
Render the output of the summary view with markdown support.
searchType: dvField
searchTarget: weight
folder: /journals
startDate: 2021-11-01
endDate: 2021-11-30
summary:
template: "Average : **{{average()}}** kg \n Max: {{max()}} kg"
The above snippet with output something like
Actual output: Average: **xx** kg Max: yy Kg
Expected: output Average: xx kg Max: yy Kg
while the \n
is parsed and supported, the markdown bold is not being supported.
Ask: Can we add support for markdown in the output of the summary view?
A quick way to do flexible text styling from my side is to allow HTML tags in the summary input. Is that OK for you?
Not an urgent requirement. Markdown or HTML, whichever is ideal can be used. I can also help with the code change if you point me in the right direction!
The code and the related example was committed to branch fix_1.10.9. Will be release in few days.
Thanks for picking this up and checking it in so quick!
Hey! Did this ever get resolved? I'm having the same issue.
First of all, thanks for Obsidian Tracker!
I miss being able to use wikilinks on the summary. Markdown support would probably fix it?
For example:
template: "[[Project Foobar]]: {{currentStreak()}}"
Currently I have to place it on a different line, which gets messy.