(Prototype) Org-marginalia: Write margin notes with Org Mode

Merci. C’est un long chemin :slightly_smiling_face:

For export:
There is also a feature request. I looked at ox-tufte. I have to say that publishing is not top of my list at the moment, but I am also interested in something like this. I might put together something real quick (with a lot of limitations, but as a minimal feature); or it will need to wait until April/May 2021 – but I want to see something. The minimal idea is simply:

  1. Assume you’re exporting Org file (marginalia works for any text files, so I will not try a generic feature to cover all possibilities)
  2. You have ox-tufte set up for your PC (but I don’t want to make it a dependency to use marginalia)
  3. Margin notes are reasonably small with no sub headlines

Then I think I could use one of the org-export-hooks to insert the margin notes to be included as Tufte’s marginnotes.

For footnote vs classic ZK link:
Technically speaking, a link from margin notes back to the main file is a regular Org link – this is the reason why we get backlink feature from Org-roam without doing anything extra.

You can differentiate margin notes from other links because they are in the marginalia file – every note you write in the marginalia file is margin notes.

1 Like