Hide UID in title when previewed with Marked 2
I write my note title as follow :
# date-based-uid note title. But I also have notes titled without UID.
I use Marked 2 app to preview/export my notes. My goal is to make Marked 2 hide the UID in the title when previewed.
I think it is possible to reach the goal as follow:
- Write a preprocessor script for Marked 2, which add a
spanhtml tag around UID only when there is an UID in
h1tag (the title)
h1 spanin the CSS theme, so that we only see the note title without the UID
Can someone help me write a simple Marked 2 preprocessor script for that?
It looks like you're new here. If you want to get involved, click one of these buttons!