org-roam-ui icon indicating copy to clipboard operation
org-roam-ui copied to clipboard

[ENH] Support render/display of Org Macros in `org-roam-ui`

Open nickgarber opened this issue 1 year ago • 0 comments

This is a pure enhancement request, so isn't related to any problem.

Use Case

  • I'd like to include the file's title in each sub-headings in a simple and consistent way.
  • Org Macro provides this functionality beautifully and frees me to needing to update the file's title in any/all sub-headings.
  • eg. ** /{{{title}}}/ | Primary Sources

Justification & Benefits

  • The overall effect is supportive of intuitively visualizing the relationship between file-nodes and headline-nodes.
  • This would add an additional degree of parity with the display presented by Org-Export's HTML publishing functionality.

Expanded Use Case

  • Taking this one step further, I'd like to include some "standard" sub-headings in my org-roam-capture-template, such as:
    • ** /{{{title}}}/ | Abstract
    • ** /{{{title}}}/ | References
    • ... etc

Meta and Thanks!

  • Org Macro
  • While this is a simple example, Org-Macros look like a way to make (1) the content more organized, (2) templates more general-purpose, (3) content more dynamic, and potentially make (4) the whole thing more fun.
  • When added via org-roam-capture-template, I'd set these to :noexport: by default, so that they're available to provide a supportive structure, without introducing clutter.

Thank you for your work on this project, and I hope you find this idea to be worthwhile. :)

nickgarber avatar Feb 16 '24 17:02 nickgarber