Skip to content

1.0.0

Compare
Choose a tag to compare
@WebCoder49 WebCoder49 released this 19 Sep 15:26
· 251 commits to main since this release
1135ab8

🆕 What's in this release?

  • Support for indentation, templates for specifying highlight functions, and placeholder attributes for <code-input> custom element
  • Built-in templates (register using codeInput.registerTemplate(template_name, template); link to element using template attribute):
    • codeInput.template.prism(prism)
      • Prism.js support built-in
    • codeInput.template.hljs(hljs)
      • highlight.js support built-in
    • codeInput.template.characterLimit()
      • Maximum character count in data-character-limit attribute
      • Characters over limit in mark.overflow element
      • Overflow message shown in mark.overflow-msg element
    • codeInput.rainbowText(rainbow_colors?, delimiter?)
      • Styles each section of text split by delimiter to color in rainbow_colors array