Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nickgarber opened this issue Feb 16, 2024 · 0 comments
Open

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

nickgarber opened this issue Feb 16, 2024 · 0 comments
Labels
enhancement small improvements to the UX

Comments

@nickgarber
Copy link

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 nickgarber added the enhancement small improvements to the UX label Feb 16, 2024
@nickgarber nickgarber changed the title [ENH] Support render/display of Org Macros on org-roam-ui [ENH] Support render/display of Org Macros in org-roam-ui Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement small improvements to the UX
Projects
None yet
Development

No branches or pull requests

1 participant