Ref https://github.com/kaushalmodi/ox-hugo/issues/113master
parent
d089ccbade
commit
a5d5a91735
5 changed files with 97 additions and 21 deletions
@ -0,0 +1,21 @@ |
||||
+++ |
||||
title = "Example blocks with ATTR_HTML" |
||||
tags = ["example", "attr_html", "attr_css"] |
||||
draft = false |
||||
+++ |
||||
|
||||
Some text. |
||||
|
||||
<style>.indent-block { padding-left: 50px; }</style> |
||||
|
||||
<div class="indent-block"> |
||||
<div></div> |
||||
|
||||
```text |
||||
This is an example |
||||
Line 2 |
||||
Line 3 |
||||
``` |
||||
</div> |
||||
|
||||
Some more text. |
||||
@ -0,0 +1,21 @@ |
||||
+++ |
||||
title = "Source blocks with ATTR_HTML" |
||||
tags = ["src-block", "attr_html", "attr_css"] |
||||
draft = false |
||||
+++ |
||||
|
||||
Some text. |
||||
|
||||
<style>.indent-block { padding-left: 50px; }</style> |
||||
|
||||
<div class="indent-block"> |
||||
<div></div> |
||||
|
||||
```emacs-lisp |
||||
(message (mapconcat #'identity |
||||
'("Hello," "how" "are" "you?") |
||||
" ")) |
||||
``` |
||||
</div> |
||||
|
||||
Some more text. |
||||
Loading…
Reference in new issue