From 6b8cae12cb5d60b37931332d9d8008649ae14566 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 12 Sep 2026 11:31:19 +0300 Subject: feat!: Update dunbar markup Currently the newest version of the markup is not on the main branch, mostly because of polish and the documentation. As an effect from the changes to the language, the sitemap is the only thing which needs to be created externally. --- ext/presentation.awk | 74 ---------------------------------------------------- 1 file changed, 74 deletions(-) delete mode 100644 ext/presentation.awk (limited to 'ext/presentation.awk') diff --git a/ext/presentation.awk b/ext/presentation.awk deleted file mode 100644 index ee8a2ea..0000000 --- a/ext/presentation.awk +++ /dev/null @@ -1,74 +0,0 @@ -BEGIN { - fontSizes[1] = "18" - fontSizes[2] = "20" - fontSizes[3] = "22" - fontSizes[4] = "25" - fontSizes[5] = "27" - fontSizes[6] = "35" - - # Certain tags can exist without explicitly defining the font size - # while others cannot - # fontSizes[0] is used for simpler code for the tags which don't - # require font size - fontSizes[0] = "" - - for (ind in fontSizes) { - if (ind > 0) { - define_div("font" fontSizes[ind]) - fontClass = " font" fontSizes[ind] - } - else { - fontClass = "" - } - - define_div("centered" fontSizes[ind], "centered" fontClass) - - define("slide" fontSizes[ind], "
", "
") - define("middle_slide" fontSizes[ind], "
", "
") - define("title_slide" fontSizes[ind], "
", "
") - } - - - substitutions["presentation-controller"] = ".text" ORS \ -"

" ORS \ -"" - - define("row", "
", "
") - define("sqrow", "
", "
") - substitutions["newrow"] = ".text
" - - # - # Generated tags - # - - for (i = 1; i <= 9; i++) { - substitutions["br" i] = ".text
" - } - for (i = 5; i <= 95; i++) { - define_div("width" i "%", "width" i "per") - } - - # - # Ordinary - # - - define_div("fright", "float-right") - define_div("column") -} - -function define_div(name, class) { - if (!class) class = name - define(name, "
", "
") -} - -FNR == 1 { - autoincrement = 0 -} -- cgit v1.3.1-24-ga712