summaryrefslogtreecommitdiff
path: root/gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.md
diff options
context:
space:
mode:
Diffstat (limited to 'gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.md')
-rw-r--r--gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.md21
1 files changed, 20 insertions, 1 deletions
diff --git a/gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.md b/gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.md
index 86878339..580aceab 100644
--- a/gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.md
+++ b/gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.md
@@ -43,11 +43,30 @@
`+a:f:......jrei'''
```
+## Table of Contents
+
+* [⇢ Gemtexter - One Bash script to rule it all](#gemtexter---one-bash-script-to-rule-it-all)
+* [⇢ ⇢ Introduction](#introduction)
+* [⇢ ⇢ ⇢ Motivation](#motivation)
+* [⇢ ⇢ Output formats](#output-formats)
+* [⇢ ⇢ Taking it as far as I should, but no farther](#taking-it-as-far-as-i-should-but-no-farther)
+* [⇢ ⇢ ⇢ Modularization ](#modularization-)
+* [⇢ ⇢ ⇢ Bash best practises and ShellCheck](#bash-best-practises-and-shellcheck)
+* [⇢ ⇢ ⇢ Unit testing](#unit-testing)
+* [⇢ ⇢ ⇢ HTML unit test example](#html-unit-test-example)
+* [⇢ ⇢ ⇢ Markdown unit test example](#markdown-unit-test-example)
+* [⇢ ⇢ Handcrafted HTML styles](#handcrafted-html-styles)
+* [⇢ ⇢ Configurability](#configurability)
+* [⇢ ⇢ Future features](#future-features)
+* [⇢ ⇢ Conclusion](#conclusion)
+
+## Introduction
+
You might have read my previous blog posts about entering the Geminispace, where I pointed out the benefits of having and maintaining an internet presence there. This whole site (the blog and all other pages) is composed in the Gemtext markup language.
This comes with the benefit that I can write content in my favourite text editor (Vim).
-## Motivation
+### Motivation
Another benefit of using Gemini is that the Gemtext markup language is easy to parse. As my site is dual-hosted (Gemini+HTTP), I could, in theory, just write a shell script to deal with the conversion from Gemtext to HTML; there is no need for a full-featured programming language here. I have done a lot of Bash in the past, but I am also often revisiting old tools and techniques for refreshing and keeping the knowledge up to date here.