HTMS
  • Start
  • Main
    • Installation
    • Config
    • HTMS Files
  • Functions / Events
    • SLoad Event
    • Update Function
    • RemoveCache Function
  • Concepts
    • Static Vars
    • Shared vars [Dev]
  • Commands
    • Import
    • Inject
    • Replace
    • Module
    • Exp [Dev]
  • Tutorials
    • Start using HTMS
    • Using modules
Powered by GitBook
On this page
  • Sample syntax:
  • Static vars
  1. Main

HTMS Files

PreviousConfigNextSLoad Event

Last updated 6 months ago

HTMS Files are a file format that contains samples

These files can have any extension but we recommend one of the following:

  • .htms

  • .html

  • .xml

Sample syntax:

<sample name="Sample">
  HTML Content
</sample>

Sample name should be treated as an id, and having multiple with the same name may cause issues

Static vars

To add in the html content include

${VarName}

<sample name="Greeting">
  Hello, ${name}
</sample>
static vars