# .*html BEGIN { usesMEL() # # Flags # melFlagTag("gb", "ENG") melFlagTag("bg", "BGN") # # Noteworthy paragraphs # melParTag("question", "dialog-question.png") melParTag("warn", "dialog-warning.png") melParTag("important", "dialog-important.png") # # File type # melFiletypeTag("ft-photo", "") melFiletypeTag("ft-text", "") melFiletypeTag("ft-zip", "") melFiletypeTag("ft-movie", "") melFiletypeTag("ft-markdown", "") melFiletypeTag("ft-browser", "") } function melFlagTag(name, alt) { MEL[name, MELINSERT] = "\""" } function melParTag(name, image) { MEL[name, MELPARAGRAPH] = "class=\"special-par " name "-par\">\""" } function melFiletypeTag(name, repl) { MEL[name, MELINSERT] = "" repl "" }