From 1fe3d39788cfb0a167ff562fa121c90ea3b445c7 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 4 Jul 2022 16:41:27 +0300 Subject: Reworked how HTML-editing scripts are handled --- generate-hooks/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 generate-hooks/README.md (limited to 'generate-hooks/README.md') diff --git a/generate-hooks/README.md b/generate-hooks/README.md new file mode 100644 index 0000000..d3c9210 --- /dev/null +++ b/generate-hooks/README.md @@ -0,0 +1,14 @@ +These scripts are ran by `generate.sh` and `generate-dev.sh` (which just run all .sh files in this folder). They're meant to modify the "compiled" HTML files. + +## ftags + +ftags are strings/words in the Markdown source files, that start with "&&" and continue with any (valid) sequence of characters. The name initially stood for "file tags", since the `make-file-lists.sh` script was the first to utilize them, but I've expanded their usage and their current name means "format tags". + +Their purpose is to shorten and abstract certain custom HTML code that I want to use in my pages (but will have to include as-is in the Markdown files). List of scripts that handle ftags: + +|Script|ftags|ftag can be anywhere in text| +|---|---|---| +|`make-file-lists.sh`|`&&fos`, `&&fs0`, `&&fs`, `&&fod`|No| +|`make-flags.sh`|`&&gb`|Yes| + +For more information on how to use the different ftags, consult the specified script. -- cgit v1.3.1-26-gb76a