;; -*- lexical-binding: t; -*-
-(org-export-define-backend 'shtarkov.net-ox
- '((headline . one-ox-headline)
- (section . one-ox-section)
- (paragraph . one-ox-paragraph)
-
- (plain-text . one-ox-plain-text)
-
- (bold . one-ox-bold)
- (italic . one-ox-italic)
- (strike-through . one-ox-strike-through)
- (underline . one-ox-underline)
- (code . one-ox-code)
- (verbatim . one-ox-verbatim)
-
- (subscript . one-ox-no-subscript)
- (superscript . one-ox-no-superscript)
-
- (plain-list . one-ox-plain-list)
- (item . one-ox-item)
-
- (src-block . one-ox-src-block)
- (example-block . one-ox-example-block)
- (fixed-width . one-ox-fixed-width)
- (quote-block . one-ox-quote-block)
-
- (link . shtarkov.net-link)))
+(org-export-define-derived-backend 'shtarkov.net-ox 'one-ox
+ :translate-alist
+ '((link . shtarkov.net-link)))
(defun shtarkov.net-head (website-name)
`(:head