zig build -Doptimize=ReleaseSafe
tmd
command binary file will be generated in the bin
folder under the project local zig-out
folder.
ReleaseSafe
optimization mode produces a fast binary with safety checks. For an even faster binary, use the ReleaseFast
optimization mode instead:
zig build -Doptimize=ReleaseFast
tmd
binary file to a directory configured in the PATH
enviroment variable, or add the path of the bin
folder to the PATH
enviroment variable, so that you can run the tmd
command anywhere.
tmd fmt foo.tmd path-to-a-tmd-folder
tmd gen foo.tmd path-to-a-tmd-folder
--enabled-custom-apps
option:
tmd gen --enabled-custom-apps=html foo.tmd path-to-a-tmd-folder
html
custom blocks can be enabled.
--trial-page-css
option. Just run tmd
without arguments to show the help information.