Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coldacid/ox-html5-timestamp-helper
HTML5 <time> tag support for Org HTML and slimhtml export backends
https://github.com/coldacid/ox-html5-timestamp-helper
emacs html5 org-mode org-mode-export orgmode
Last synced: 7 days ago
JSON representation
HTML5 <time> tag support for Org HTML and slimhtml export backends
- Host: GitHub
- URL: https://github.com/coldacid/ox-html5-timestamp-helper
- Owner: coldacid
- License: gpl-2.0
- Created: 2020-11-14T03:59:44.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-30T21:55:32.000Z (almost 3 years ago)
- Last Synced: 2024-11-07T06:48:50.144Z (about 2 months ago)
- Topics: emacs, html5, org-mode, org-mode-export, orgmode
- Language: Emacs Lisp
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+TITLE: ox-html5-timestamp-helper
#+AUTHOR: Chris CharabarukThe *html5-timestamp-helper* library provides HTML5
* Usage
Using this library to add
#+CAPTION: Derived backend for ox-html
#+begin_src elisp
(org-export-define-derived-backend 'custom-html
'html
:translate-alist '((timestamp . ox-html5-html-timestamp)))
#+end_src#+CAPTION: Derived backend for ox-slimhtml
#+begin_src elisp
(org-export-define-derived-backend 'custom-slimhtml
'slimhtml
:translate-alist '((timestamp . ox-html5-slimhtml-timestamp)))
#+end_srcEnsure that you have included both the org and ox-html5-timestamp-helper packages earlier in your =init.el= file.
If you have installed Org and ox-html5-timestamp-helper through ELPA, you should be fine.
Otherwise, you should place these lines early in =init.el=:#+begin_src elisp
(require 'org)
(require 'ox-html5-timestamp-helper)
#+end_src