rwxrob / keg-spec

Knowledge Exchange Graph (KEG) 2023-01 Specification
https://github.com/rwxrob/keg-spec/tree/main/dex#readme
Creative Commons Zero v1.0 Universal
19 stars 3 forks source link

Simplify footnotes, expand only when needed #28

Open rwxrob opened 1 year ago

rwxrob commented 1 year ago

Although the method of creating footnote references that are prefixed with the node ID, this does not address the use of temporary and import nodes that have references that must be updated. Therefore, it is better to leave the footnotes anything that Pandoc/GitHub allow and qualify them as a part of the expansion KEGMLX process. At that time the exact node ID will be known and can easily be prefixed to any [^foo] -> [12.foo] range with a simple regular expression match.