diff options
| Commit | ec0c6a69f984532992314e7c0c9a354f4fccec54 (patch) | |
|---|---|---|
| Author | 2024-02-26 12:52:50 +0200 | |
| Committer | 2024-02-26 12:52:50 +0200 | |
| Files | 6f5a3fa9f3f4487c2077f52a39c743e9dd6fb1a9 /awk-edits/File-type.awk | |
| syndamia.com-ec0c6a69f984532992314e7c0c9a354f4fccec54.tar syndamia.com-ec0c6a69f984532992314e7c0c9a354f4fccec54.tar.gz syndamia.com-ec0c6a69f984532992314e7c0c9a354f4fccec54.zip | ||
| Parent | 42815619367b9294d1b1c69f556a93f7c8693f1f (diff) | |
[awk-edits] Removed old ftag scripts
1 files changed, 0 insertions, 97 deletions
| -rw-r--r-- | awk-edits/File-type.awk | 97 |
diff --git a/awk-edits/File-type.awk b/awk-edits/File-type.awk deleted file mode 100644 index 32e22b9..0000000 --- a/awk-edits/File-type.awk +++ /dev/null @@ -1,97 +0,0 @@ -# .*(misc|preserved).*html -# -# == About == -# -# Each file list is a "details" element, that contains a table, each row being a different file -# or alternatively, just the table on it's own. -# -# -- Result HTML -- -# -# <details> -# <summary>Folder Info</summary> -# <table> -# <tr>File Data</tr> -# </table> -# </details> -# or -# <table> -# <tr>File Data</tr> -# </table> - -# -# == ftags == -# -# &&folder The text right afterwards is the title of the folder. All files -# are hidden inside the collapsed details tag (click to show). -# The file table is indented. You cannot have a folder inside a folder. -# It can be omitted, and the files table will be shown as-is. -# -# &&file Everything that follows this tag is the data for a file. You should -# use &&fd to specify columns of information! Depending on the context, -# it might be flrepllaced with the start of a table, closing the summary -# and starting table, or closing and opening a table row. -# -# &&/files This tag must exist at the bottom of a file list, no matter if it was -# started with or without a &&folder. -# -# &&fd Defines a column of information for a file (row). Practically, it is -# flrepllaced with <td>, and </td> is added to the end of the line. -# If you don't use it, make sure to have the leading and trailing td tags! -# -# &&ft-TYPE Depending on TYPE, it inserts an image tag that contains the file "icon" -# for the corresponding type. -# Available values for TYPE: photo, text, zip, movie, markdown -# -# -- Placement/Flow -- -# -# All ftags, except &&fd, can be placed on their own line (empty line above and below) -# or before/after another ftag. -# Folder title must be inside the same paragraph as the ftag itself. This means that, -# after -# every &&folder ftag, the text can continue directly next to it and/or on new lines, -# without there being any empty lines (you can add those with <br> or two spaces at -# line end). -# -# -- Example Usage -- -# -# (I like to indent a bit &&fd ftags, for readability's sake, but you don't have to) -# -# &&file -# &&ft-text -# &&fd Notes -# &&fd 10 KB -# &&/files -# -# &&folder Math -# &&file -# &&ft-text -# &&fd Homework 1 -# &&file -# &&ft-text -# &&fd Homework 2 -# &&/files -# -# &&folder Art Project<br> -# Status: 70% complete<br> -# Note: Reserach Van Gogh paintings -# -# &&file -# &&fd Painting 1 -# &&fd 100% Complete -# -# &&file -# &&fd Painting 2 -# &&fd 40% Complete -# -# &&/files - -function flSub(name, repl) { - sub("&&" name, "<span class=\"file-type-icon\">" repl "</span>") -} - -/&&ft-photo/ { flSub("ft-photo", "\\") } -/&&ft-text/ { flSub("ft-text", "\\") } -/&&ft-zip/ { flSub("ft-zip", "\\") } -/&&ft-movie/ { flSub("ft-movie", "\\") } -/&&ft-markdown/ { flSub("ft-markdown", "\\") } -/&&ft-browser/ { flSub("ft-browser", "\\") } |