Results 436 comments of Mickaël Menu

@biqinglin Unfortunately not really, I just removed the fonts since we don't need them.

I tried to keep `zk` independent from Markdown, so I think it wouldn't be super difficult. * There's a `NoteContentParser` interface to implement to support additional formats: https://github.com/mickael-menu/zk/blob/63dee0ce3f09c7a786fc5d158f411a785bfe1a29/internal/core/note_parse.go#L22-L41 * Everything...

By the way I've been toying with the idea of adding a JavaScript plugin architecture in `zk`. This would be an interesting use case for it.

Prefixes or regexes might be too fragile, as you also need to validate the context, for example that you are inside a YAML frontmatter. It gets even more complicated with...

> Oh that makes sense, in that case Lua could limit the amount of potential plugin creators. Didn't know Lua was that dreaded, I wonder why. Maybe the unorthodox syntax...

It could be a workaround for the parser/indexation. It wouldn't work with the LSP server though.

@megalithic From the logs you shared, I think it's the content of the YAML frontmatter failing with these notes. Would you mind sharing the content of one of these notes...

I can reproduce this warning: > zk: warning: yaml: mapping values are not allowed in this context with the following frontmatter: ```yaml --- title: A title with: special characters ---...

Okay let me know if you have any other warnings after fixing your templates, and then I'll close this issue. I'm not sure there's anything to do in `zk` at...