felko / neuron-mode

An emacs mode for editing Zettelkasten notes with neuron
GNU General Public License v3.0
118 stars 21 forks source link

Support wiki links #60

Closed srid closed 3 years ago

srid commented 4 years ago

Syntax is documented here: https://neuron.zettel.page/2011504.html

Basically <...> is deprecated (still supported) in favour of the new default: [[...]] as well as [[[...]]].

srid commented 3 years ago

[[Some note, with puctuation]] is now a valid link in neuron.

cf.

vizziv commented 3 years ago

I'm totally new to elisp, but I'm willing to have a go at this. Can anyone give me a few pointers to places in the code that would need to change?

srid commented 3 years ago

@vizziv Probably neuron-link-regex: https://github.com/felko/neuron-mode/blob/6042cb8960f0018d19db7be84e76622bdfaed5ec/neuron-mode.el#L796-L799

TheKK commented 3 years ago

Hi @vizziv, are you working on this? If not then I'd like to help as well :)

vizziv commented 3 years ago

By all means, go ahead! (I never managed to get started on this.)

sudeepdino008 commented 3 years ago

WIP here - https://github.com/sudeepdino008/neuron-mode/commit/6455f03a4c30fd33e273ce07266f94dff856add3. It supports folgezettel and ordinary links ( ids containing spaces might not work yet).
It still needs to support tag wikilinks (see tag trees here).

EDIT:

pull request here: https://github.com/felko/neuron-mode/pull/67
Company mode is still not supported. I'd appreciate some help there as I don't use company mode.

felko commented 3 years ago

Closing since #67 was merged