fniessen / org-html-themes

Transform your Org mode files into stunning HTML documents in minutes with our Org mode HTML theme. Elevate your productivity and impress your readers! #orgmode #html #theme #productivity #design
GNU General Public License v3.0
2.22k stars 435 forks source link

Fix rendering for special tags #148

Closed yamanq closed 2 years ago

yamanq commented 2 years ago

Another fix for #71

The following examples use this file as a source:

#+TITLE: Test
#+SETUPFILE: org-html-themes/org/theme-readtheorg-local.setup
* Example :tag:
** NoteHeader :note:
This is some content.
** WarningHeader :warning:
This is some content.
** TipHeader :tip:
This is some content.
** ErrorHeader :error:
This is some content.
* Full Example :tag:
** NoteHeader :note:
This is some content.
** SeealsoHeader :seealso:
This is some content.
** WarningHeader :warning:
This is some content.
** CautionHeader :caution:
This is some content.
** AttentionHeader :attention:
This is some content.
** TipHeader :tip:
This is some content.
** ImportantHeader :important:
This is some content.
** HintHeader :hint:
This is some content.
** ErrorHeader :error:
This is some content.
** DangerHeader :danger:
This is some content.
** NotspecialHeader :notspecial:
This is some content.

Before

before-js

After

after-js

Before (No JS)

before-nojs

After (No JS)

after-nojs

yamanq commented 2 years ago

Hi @fniessen Is there anything else I should work on so that this can be merged?

fniessen commented 2 years ago

Hello @yamanq . Yes, you had to remind me to do it! ;-) Thanks for the fix!!