Skip to content

Markdown, Localization and concatenation

Compare
Choose a tag to compare
@MatsMoll MatsMoll released this 16 Apr 10:58
  • Markdown is finally supported by using the markdown("# Title") function. (Using SwiftMarkdown)
  • Localization is also supported by using the localize("hello.world", in: \.local) function
    The Lingo framework is used to handle localization logic.
  • It is now possible to use + to concatenate different elements Eg:
div.child(
    "Hello, " + variable(\.name) + p.child("View More")
)