Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Karl Voit edited this pageOct 18, 2019 ·2 revisions

Orgmode Elements > Blocks


Blocks must not be intended. They start with#+BEGIN_ followed by supported block types (below; case insensitive) and parameters. Blocks end with the first#+END found.

Optional names can pre-pended a block: lines starting with =#+NAME: = (case insensitive). Those names are used as captions for the blocks. Please note the different handling for HTML blocks.

Enforcing line breaks is not yet supported with lazyblorg. Open an issue if you need it.

SRC

SRC-blocks do miss some sanitizing:

HTML charsInt. L.Ext. L.Text FormatURL AmpersandsPandocTemplates involved
x#NAME#

EXPORT

Note: lazyblorg looks intoblock_type_export_backend which holds eitherHTML orLATEX.

HTML

HTML-blocks do miss some sanitizing:

HTML charsInt. L.Ext. L.Text FormatURL AmpersandsPandocTemplates involved
x#NAME#

Named HTML Blocks

If an HTML block has a name associated, it gets included into the blog article with a caption and the HTML source rendered as visible content.

#+NAME: This is the caption#+BEGIN_EXPORT html<a href="http://Karl-Voit.at">Link to my webpage</a>#+END_EXPORT

… results in something similar to:

<a href="http://Karl-Voit.at">Link to my webpage</a>

The caption/name/title is omitted at the moment. Seethis related issue.

HTML Blocks Without a Name

If an HTML block has no name associated, its HTML source code is written as is into the HTML output of the blog article. This way, you can add HTML snippets for tweets, videos or other content directly into your lazyblorg article.

#+BEGIN_EXPORT html<a href="http://Karl-Voit.at">Link to my webpage</a>#+END_EXPORT

… results in something similar to:Link to my webpage

LATEX

LaTeX blocks are HTMLized via pandoc.

LaTeX-blocks do miss some sanitizing:

HTML charsInt. L.Ext. L.Text FormatURL AmpersandsPandocTemplates involved
xx

EXAMPLE

EXAMPLE-blocks do miss some sanitizing:

HTML charsInt. L.Ext. L.Text FormatURL AmpersandsPandocTemplates involved
x#NAME#

VERSE

HTML charsInt. L.Ext. L.Text FormatURL AmpersandsPandocTemplates involved
xxxx#NAME#

QUOTE

HTML charsInt. L.Ext. L.Text FormatURL AmpersandsPandocTemplates involved
xxxx#NAME#

CENTER

Parsed but has no effect. Raise an issue or send a merge request in case you need it.

ASCII

Not parsed, causing an error. Raise an issue or send a merge request in case you need it.

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp