Devlogs
v1.0.8 Patch Notes
v1.0.8 Patch Notes
Today a really important patch for anyone using kiki and markdown. Thanks to webmaster @minterpunct who pointed out that Markdown pages were not processing the dynamic variables like $$tags$$ or $$date$$.
I initially thought it would be impossible to allow markdown to use kiki dynamic variables, but woke up at 2am realizing I could easily parse them with a different approach. So, as of today, dynamic variables are parsed in any markdown language you use! Hooray!
While I was working on that fix, I noticed that the online help system wasn't accessible if you were in markdown mode - so that's been fixed too.
- /layout and /pages/help/*.bug: markup:bug set in header for all pages
- index.php: now intelligently searches for pages based on the selected markup language; if that fails, searches through help pages for the requested page.
- library/interpreter.php: all dynamic content is now parsed by this script instead of bug, which allows *all* other markup languages to use dynamic content!
- library/page.php: improved sanity checks to prevent php warnings and errors when page data is missing; dynamic content now parsed by the interpreter during page processing.
- library/utils.php: get_markup_file_extension() now intelligently returns the extension of the markup file
- library/bug/markup.php: all dynamic content parsing moved from markup.php to interpreter.php