Friday, September 6, 2024

how to use htmlize (doom-manegarm theme)

*new*<6>
** how to make styled pages quickly in emacs
- m x package install the htmlize plugin
- spc b N to create a new buffer
- m x enable org mode

  Write the body of the webpage you want to create

*** use themes to apply styles
-  spc h t to select themes
(if you want them to persist add them to your config)
- spc f p to edit the configs if you want.
- htmlize the buffer

**** copy the html
- shift v (visual mode)
- shift g (jump to bottom)
- double quote plus y (yank to clipboard register)

***** use your html
I like to test it out on codepen if I have a browser handy.
or I paste it into blogger.

No comments:

Post a Comment