Closed kmaasrud closed 2 years ago
sorry if this is a wrong place to ask, but how can I turn on the search functionality? I am using 0.5.0 currently.
@huangziwei sorry about that! I managed to remove the search functionality by accident on 0.5.0, but this is fixed in 0.5.1 which we will release very soon, so stay tuned for that! I will ping you when that happens :smile:
@huangziwei 0.5.1 is live now!
Thanks for the update! I have a few questions regarding to the new [style] section.
css='''<css>'''
, the generated css in the user.css shows: :root { --css: className {...}}
. In the note I have a HTML tag with class="className", but it doesn't seem working. But I am actually not very familiar with :root or -- variable.btw, the search doesn't work on Chinese and Japanese...
additional-css
. Try changing to that and it should work smoothly.fg = "white"
, bg = "black"
, etc. to make your own theme if you want! You can see all variables by using the inspect tool in your browser.Although I takes notes mainly in English, I do still use Chinese and Japanese occasionally if the books I read are in those languages... maybe you can add a functionality to add dictionaries for additional languages by users?
The next version of mdzk will not be an SSG, but rather a general purpose interface for parsing a Zettelkasten into a directed graph. This will let users easily create their own publishing workflows (e.g. with something like Hugo), integrate into their editors and more. We will supply our own SSG as well, mirroring the one we have now, and I'll definitely look further into supporting multiple languages in the search!
All of this is to say that chinese/japanese search will probably not arrive until we are done with the rewrite, I'm sorry. I'll open a separate issue for it though, so you can track the feature there :smile:
Issue no longer relevant to the next generation mdzk. Closing.
This sadly has to be done because some options logically belong to other tables. These need to be moved:
ignore
from[mdzk]
to[build]
backlinks-header
from[mdzk]
to[style]
generate-summary
from[mdzk]
to[build]
[output.html]
to[style]