innolitics / n2y

Notion to YAML (and Markdown)
23 stars 1 forks source link

Figure numbering #52

Closed johndgiese closed 1 year ago

bimbashrestha commented 2 years ago

The two pandoc filters I looked into

both rely on pandoc flavored markdown (specifically support for the {#identifer} tag at the end of images) and because we use github flavored markdown, we can't use them directly.

Future work might involve finding an indirect way to use the filters or to just create a custom numbering solution. There is already a custom numbering plugin but figure numbers don't reset per page (which is what we'd like).

bimbashrestha commented 2 years ago

I'm moving on to another issue for now since this looks more involved than anticipated.

johndgiese commented 2 years ago

FFR: We want the figure numbers to reset for each document, i.e., for each notion page. Not for each page in the final documents.