-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
Bring back org support #557
Comments
To add back org-mode support in neuron, I'd recommend checking out the Plugin system in Plugins are defined here: https://github.com/srid/neuron/tree/master/neuron/src/lib/Neuron/Plugin ... a plugin is just a set of hooks, telling neuron to do custom things at various stage of the build process. However, the Plugin type itself is hardcoded to assume markdown format (see for example the |
Okay, I did some WIP prototype, and realized that org-mode support can be done as builtin -- doesn't have to happen as a plugin ... however we have to think in terms of how it impacts existing plugins. For eg., the tags plugin requires YAML metadata, but org files have no YAML metadata, and instead they pass their heading properties in Pandoc AST. So the org reader can manually build a YAML structure out of these properties. This way, the plugins can continue to function independently of zettel formats in use (except for the aforementioned |
Real-world neuron notebook using .org files: https://github.com/Nimor111/notebook Use this for testing the PR for this work. |
See https://neuron.zettel.page/next - but I'll make an exception for this one feature if anybody wants to open a PR. It will be in neuron for eternity. |
Emanote now supports Org Mode: https://emanote.srid.ca/demo/orgmode |
So I know org support has been removed in v2, but it seems to me that there are a lot of great reasons for supporting org-roam file formats in Neuron:
So I started adding some stub functions here on my fork. Any help there, either from org-roam contributors or neuron contributors, would be much appreciated, since I'm still fairly new to Haskell.
The text was updated successfully, but these errors were encountered: