Kaushal Modi
c860032e8e
Update an inline HTML -- Special Block test based on prev commit
8 years ago
Kaushal Modi
2a762a453a
HTML validation and consistency edits: Ending HTML tags in spcl blks
...
Now, the ending </tag> or </div> inserted as part of special block
exports will have an empty newline before that closing tag.
8 years ago
Kaushal Modi
861ad8a2c0
Do not use spaces in HTML id elements # HTML validity
...
Also update bare_min theme
8 years ago
Kaushal Modi
cc192426c7
Revert "Add blank line before the closing div tags; HTML5 validity"
...
This reverts commit 654dba0838 .
That commit wasn't the cleanest way to make the HTML valid. Actually
the HTML will never be valid because of the div hack.. I guess we just
live with it till Hugo/Blackfriday adds support for wrapping Markdown
elements in div tags.
8 years ago
Kaushal Modi
654dba0838
Add blank line before the closing div tags; HTML5 validity
...
Also update Special Blocks test with more valid HTML5 semantic element
examples.
8 years ago
Kaushal Modi
6bf16103f1
Add basic support for exporting shortcodes that do not need args
...
https://github.com/kaushalmodi/ox-hugo/issues/119
Also:
- Remove leading/trailing whitespace from Special Block content
8 years ago
Kaushal Modi
a0693783d7
Support Inline HTML5 element special blocks
...
Example: Use #+BEGIN_mark and #+END_mark to mark/highlight text in HTML5.
8 years ago
Kaushal Modi
a2e9396771
Support exporting Org Special Blocks like ox-html
...
It works almost the same way as ox-html, but a little hack is add to
get around a Hugo/Blackfriday limitation that Markdown text cannot be
wrapped in HTML elements like div. Details:
https://github.com/kaushalmodi/ox-hugo/issues/93 .
Fixes https://github.com/kaushalmodi/ox-hugo/issues/105 .
8 years ago