About org ? - Neuron

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

reyman

Hi there ! Hi @Sridhar Ratnakumar

I'm using Doom emacs & org-mode with org-babel (literate programming), and i'm really interested to develop a long term and reproductible website using nix/rib/neuron for research project for "computer source code preservation".

I'm not sure, but i understand that pandoc could be used with Rib/Neuron, do you know if org export was well integrated in pandoc (exporting citation, snippet of code, etc ?)

Second question is about templating of neuron output, do you think it was possible to apply separate visualisation for different entries. For example if i have "blog" != "notes" entry, the structure of html outputed by neuron/rib could be customized ?

Sridhar Ratnakumar

Re: org - I have no idea, as I don't use org-mode. Maybe @felko knows.

Re: templating - that's very tricky to do due to the theming challenges. See https://github.com/srid/neuron/issues/253#issuecomment-661311689

However, you can do some manipulation using JavaScript and neuron tags, by including a head.html. See last section of https://neuron.zettel.page/67c6f7a0.html

@reyman

What we have right now is the ability to override color schemes. It would be nice to also be able to override HTML layout and CSS styles. Since neuron uses reflex-dom for HTML and clay for CSS, a t...