Help in getting percentage of book read

Hi!
I wish to get a progress bar for the books I’m reading
I’ve found the following code:

Progress: <progress max=100 value=0> </progress>0%  

But I wish to get directly the “max” and “value” form the frontmatter (respectively “TotalPage” and “ActualPage”) and calculate the percentage.
I want the progress bar in the note, not in the frontmatter.

It’s possible? How?

Thanks a lot in advance for any help (considering I’m quite new to Obsidian, markdown and similar)

1 Like