diff --git a/.githooks/pre-commit/01-docgen b/.githooks/pre-commit/01-docgen
index 427d9a6..a229a62 100755
--- a/.githooks/pre-commit/01-docgen
+++ b/.githooks/pre-commit/01-docgen
@@ -15,5 +15,10 @@ for f in $(find . -maxdepth 1 -type f -iname "*.adoc"); do
asciidoctor -o "${docsdir}/${nosuffix}.html" "${f}"
git add "${docsdir}/${nosuffix}.html"
+ if command -v pandoc &> /dev/null;
+ then
+ asciidoctor -b docbook -o - "${f}" | pandoc -f docbook -t markdown_strict -o "${docsdir}/${nosuffix}.md"
+ git add "${docsdir}/${nosuffix}.md"
+ fi
done
echo "Regenerated docs"
diff --git a/README.adoc b/README.adoc
index 78912ab..d93e6fe 100644
--- a/README.adoc
+++ b/README.adoc
@@ -26,9 +26,9 @@ Last rendered {localdatetime}
In addition to the documentation found in this document and https://wireproto.io/[the specification^], library usage documentation can be found at https://pkg.go.dev/go.pkg.dev/r00t2.io/WireProto[the Golang module documentation page^]:
++++
-
-
+
+
++++
diff --git a/README.html b/README.html
index 2de4e18..79f37c6 100644
--- a/README.html
+++ b/README.html
@@ -476,6 +476,10 @@ pre.rouge .gi {
color: #116329;
background-color: #dafbe1;
}
+pre.rouge .ges {
+ font-weight: bold;
+ font-style: italic;
+}
pre.rouge .kc {
color: #0550ae;
}
@@ -555,7 +559,7 @@ pre.rouge .gs {
In addition to the documentation found in this document and the specification, library usage documentation can be found at the Golang module documentation page: