dwp-forge / refnotes

4 stars 6 forks source link

Structured references and `~~REFNOTES~~' #76

Closed nerun closed 1 year ago

nerun commented 1 year ago

When i use structured references, the note do not appear under ~~REFNOTES~~. Example:

Under namespace refnotes i have a page with a sheet with many notes like this one:

:ref:USC-17-1-102 UNITED STATES. United States Code, Title 17, Chapter 1, §102. Subject matter of copyright: in general.

I call it: [(:ref:USC-17-1-102)], but it is rendered allways at BOTTOM of page, NOT UNDER ~~REFNOTES~~.

dwp-forge commented 1 year ago

Try this:

~~REFNOTES ref ~~
nerun commented 1 year ago

It works! BUT... Other notes that are not structured references, don't render below ~~REFNOTES ref~~.

For example:

"Lorem ipsum" text here. [(:ref:USC-17-1-102)] [(Not structured note here.)]

==== REFERENCES ====
~~REFNOTES ref ~~

Other paragraph here.

Is rendered:

"Lorem ipsum" text here. [1] [1]

REFERENCES
  1. UNITED STATES. United States Code, Title 17, Chapter 1, §102. Subject matter of copyright: in general.

Other paragraph here.

------------------------------------------------------------------
  1. Not structured note here.
dwp-forge commented 1 year ago

How about this:

~~ REFNOTES ref : ~~

Hint: You may want to read the rest of the linked page as well :wink:

nerun commented 1 year ago

Perfect!