|
|
|
|
@ -2657,15 +2657,62 @@ The front-matter for this post contains the default Creator string. |
|
|
|
|
:EXPORT_FILE_NAME: custom-creator |
|
|
|
|
:END: |
|
|
|
|
The front-matter for this post contains a custom Creator string. |
|
|
|
|
* Export snippets and blocks :export_snippet:export_block: |
|
|
|
|
* Export snippets and blocks |
|
|
|
|
** Export snippet :export_snippet: |
|
|
|
|
*** Export snippet Hugo :hugo: |
|
|
|
|
:PROPERTIES: |
|
|
|
|
:EXPORT_FILE_NAME: export_snippets_and_blocks |
|
|
|
|
:EXPORT_FILE_NAME: export_snippet_hugo |
|
|
|
|
:END: |
|
|
|
|
@@hugo:This will get exported **only for** Hugo exports, `verbatim`.@@ |
|
|
|
|
|
|
|
|
|
@@newlines |
|
|
|
|
are not |
|
|
|
|
allowed@@ |
|
|
|
|
|
|
|
|
|
If you want newlines, use *Export Blocks* instead. |
|
|
|
|
*** Export snippet Markdown :markdown: |
|
|
|
|
:PROPERTIES: |
|
|
|
|
:EXPORT_FILE_NAME: export_snippet_markdown |
|
|
|
|
:END: |
|
|
|
|
@@md:This Markdown **Export Snippet** will also get exported for Hugo exports, `verbatim`.@@ |
|
|
|
|
|
|
|
|
|
@@markdown:_This one too_@@ |
|
|
|
|
- NOTE :: =ox-md.el= does not support *Export Snippets* as of writing |
|
|
|
|
this <2017-12-08 Fri>. So even the =@@md:foo@@= and |
|
|
|
|
=@@markdown:foo@@= snippets are handled by =ox-hugo= |
|
|
|
|
directly. |
|
|
|
|
*** Export snippet HTML :html: |
|
|
|
|
:PROPERTIES: |
|
|
|
|
:EXPORT_FILE_NAME: export_snippet_html |
|
|
|
|
:END: |
|
|
|
|
@@html:This HTML <b>Export Snippet</b> will also get exported for Hugo exports, <code>verbatim</code>.@@ |
|
|
|
|
** Export block :export_block: |
|
|
|
|
*** Export block Hugo :hugo: |
|
|
|
|
:PROPERTIES: |
|
|
|
|
:EXPORT_FILE_NAME: export_block_hugo |
|
|
|
|
:END: |
|
|
|
|
** Export snippet |
|
|
|
|
@@hugo:This will get exported only for Hugo exports, `verbatim`.@@ |
|
|
|
|
** Export block |
|
|
|
|
#+BEGIN_EXPORT hugo |
|
|
|
|
and **this too**.. `verbatim`. |
|
|
|
|
This will get exported **only for** Hugo exports, `verbatim`. |
|
|
|
|
#+END_EXPORT |
|
|
|
|
*** Export block Markdown :markdown: |
|
|
|
|
:PROPERTIES: |
|
|
|
|
:EXPORT_FILE_NAME: export_block_markdown |
|
|
|
|
:END: |
|
|
|
|
#+BEGIN_EXPORT markdown |
|
|
|
|
This Markdown **Export Block** will also get exported for Hugo exports, |
|
|
|
|
`verbatim` .. |
|
|
|
|
#+END_EXPORT |
|
|
|
|
|
|
|
|
|
#+BEGIN_EXPORT md |
|
|
|
|
and **this too**. |
|
|
|
|
#+END_EXPORT |
|
|
|
|
*** Export block HTML :html: |
|
|
|
|
:PROPERTIES: |
|
|
|
|
:EXPORT_FILE_NAME: export_block_html |
|
|
|
|
:END: |
|
|
|
|
#+BEGIN_EXPORT html |
|
|
|
|
This HTML <b>Export Block</b> will also get exported for Hugo exports, |
|
|
|
|
<code>verbatim</code>. |
|
|
|
|
#+END_EXPORT |
|
|
|
|
* Miscellaneous Front Matter :front_matter: |
|
|
|
|
** Hugo Aliases :aliases: |
|
|
|
|
|