selecting the output HTML destination - Neuron

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

felko

About the CLI: is it possible to choose the location of the .output directory that contains the generated HTML? Why not generate it directly into the zettelkasten directory? There is already a .shake directory in it, I would rather have a single .neuron directory that contains whatever file shake needs + the generated HTML

Sridhar Ratnakumar

Yea, not a bad idea. I'm currently working on revamping the neuron CLI, based on the revamped rib CLI https://github.com/srid/rib/pull/147

Sridhar Ratnakumar

https://github.com/srid/neuron/issues/78

Add a .neuron directory and move .shake under it, as well as move the notes.output directory under it. So: ./notes # zettelkasten ./notes/.neuron/shake # shake database ./notes/.neuron/output # Gen...
Sridhar Ratnakumar

@felko checkout the latest master

felko

great! that was fast
The open command will be quite useful for editor support

Sridhar Ratnakumar

Nice. I think it would be good to implement neuron open <zettelid> as well.