From 8f856c9843732673c59bc2e2ae22e8a31f733501 Mon Sep 17 00:00:00 2001 From: fap <459631+fapdash@users.noreply.github.com> Date: Sun, 25 Aug 2024 14:25:19 +0200 Subject: [PATCH] Add optional for semantic html output The feature is toggled via `org-static-blog-use-semantic-html`. The output is customizable via `org-static-blog-semantic-html-mapping`. closes #8 --- org-static-blog.el | 113 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 85 insertions(+), 28 deletions(-) diff --git a/org-static-blog.el b/org-static-blog.el index 6c3c288..10dba06 100644 --- a/org-static-blog.el +++ b/org-static-blog.el @@ -39,6 +39,7 @@ ;;; Code: +(require 'cl-macs) (require 'cl-extra) (require 'org) (require 'ox-html) @@ -265,6 +266,36 @@ Only if og tags are enabled. It can be overridden with the :type '(string) :safe t) +(defcustom org-static-blog-use-semantic-html nil + "Use semantic html tags instead of