Skip to content

v0.9.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@bitspittle bitspittle released this 20 Jan 05:40
· 2129 commits to main since this release

This is a decently big patch with a handful of fixes, but the main driver was improvements for Markdown support.

  • kobweb binary
    • Fixed issue with yes/no validation
    • Fixed the /default suffix (which is kind of a magic value) from showing up in kobweb list
    • Added the Rename template instruction
  • Markdown
    • Breaking change Double curly braces for code calls are now triple curly braces, so {{ Example() }} should change to {{{ Example() }}}
      • This is insipred by triple backticks for code.
    • Added support for inline code calls, which are a single curly brace and no spaces inside of them
      • So you can use {Example()} within a line or {{{ Example() }}} on its own line
      • This difference seems needless for now but triple-braced calls will get extra functionality in a followup version. Follow along at #42
    • Support inline html, e.g. This is <span class="warning">a bad idea</span>
    • Fixed escaping issues when using quotes in your Markdown
    • Markdown rendering now generates less noisy Kotlin code by merging text nodes together
  • Silk
    • Text no longer generates <spans> in the DOM unless necessary, reducing a TON of noise
    • Fixed bug in canvas logic around elapsedTime not getting updated
  • CSS
    • Extended style support for the white-space css property
    • Added whiteSpace support to the Modifier class