aboutsummaryrefslogtreecommitdiff
path: root/modules/ui-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-12 06:07:20 -0500
committerCraig Jennings <c@cjennings.net>2026-05-12 06:07:20 -0500
commit7f51842c920f708ec8588ae9a178fdbc28d31f46 (patch)
treebfe1837b905431587b4f2e48312db8945817baba /modules/ui-config.el
parentfb39fe85378b58b77d2c5a7a6464b1b4aec0b85d (diff)
downloaddotemacs-7f51842c920f708ec8588ae9a178fdbc28d31f46.tar.gz
dotemacs-7f51842c920f708ec8588ae9a178fdbc28d31f46.zip
feat(org): add reveal.js present command and header removal
`C-; p SPC' (`cj/reveal-present') is the new fast path: it inserts reveal.js headers if the buffer doesn't have them (prompting for a title), saves the buffer, exports to self-contained HTML, and opens it in the browser. It's the export-and-open you'd otherwise reach by doing `C-; p h' then `C-; p e'. `C-; p H' (`cj/reveal-remove-headers') strips the header block this module inserts, and `C-; p h' (`cj/reveal-insert-header') now errors instead of duplicating headers when a reveal block is already present. The header logic moved into small helpers (`cj/--reveal-has-header-p', `cj/--reveal-remove-headers', `cj/--reveal-ensure-header', `cj/--reveal-keyword-regexp', and the `cj/--reveal-header-keywords' list), and `test-org-reveal-config-headers.el' drives them directly: detection on a reveal vs. a plain Org buffer, removal of the generated block (and only the leading block), body preservation, and the no-duplicate-headers error.
Diffstat (limited to 'modules/ui-config.el')
0 files changed, 0 insertions, 0 deletions