tinymash tiny, fast, efficient, and reliable content publishing
Browse
Search
Menu
Footer

Syntax highlighting

09-Apr-2026, 01:08 (CEST) |Updated 04-May-2026, 16:45 (CEST)

tinymash features syntax highlighting, which can be enabled through the shipped plugin with the same name. The plugin uses highlight.js

Examples
/* This program prints Hello, world! */
echo 'Hello, world!';
# This program prints Hello, world!
print('Hello, world!')
CREATE TABLE "topic" (
    "id" integer NOT NULL PRIMARY KEY,
    "forum_id" integer NOT NULL,
    "subject" varchar(255) NOT NULL
);
ALTER TABLE "topic"
ADD CONSTRAINT forum_id FOREIGN KEY ("forum_id")
REFERENCES "forum" ("id");
-- Initials
insert into "topic" ("forum_id", "subject") values (2, 'D''artagnian');