Skip to content

Latest commit

 

History

History
275 lines (186 loc) · 5.81 KB

_sample-adoc.adoc

File metadata and controls

275 lines (186 loc) · 5.81 KB

Sample Adoc Page

debug imagesdir:
/assets/img

debug:
env: github
env-site ist nicht gesetzt

debug:
imagesdir:
./assets/img

und das ist der Untertitel

debug:
imagesdir:
./assets/img

Wenn ein title definiert wurde, dann wird der statt des Header 1 angezeigt. Wenn kein title definiert wurde, wird der Header 1 verwendet.

Germo Goertz 345x460

14089 Berlin

test einiger Attribute

backend: html5

basebackend: html

basebackend-html:

basebackend-docbook: {basebackend-docbook}

safe-mode-name: secure

env: github

env-vscode: {env-vscode}

{env-server}

kommen über jekyll asciidoc

  • env-site: {env-site}

  • site-gen: {site-gen}

  • user-home: .

die folgen gibt es eigentlich nicht, war mal ein test von mir

env-local: {env-local}

env-local-html: {env-local-html}

env-local-docbook: {env-local-docbook}

image::Germo_Goertz_345x460.jpg[]

subtitle erscheint auch im jekyll. Man muss die richtigen Attribute korrekt definieren. Insbesondere mit prefix "page-"

subtitle erscheint aber nicht im gerenderten AciiDoc, also auch nicht im docx. Da muss man noch eine Lösung finden.

Header 2

This is a sample page composed in AsciiDoc. Jekyll converts it to HTML using Asciidoctor.

Asciidoctor

In addition to the built-in attributes in AsciiDoc, the following additional AsciiDoc attributes are automatically defined by this plugin and available to all AsciiDoc-based pages:

site-root=(absolute path of root directory)
{site-root}

site-source=(absolute path of source directory)
{site-source}

site-destination=(absolute path of output directory)
{site-destination}

site-baseurl=(value of the baseurl config option)
{site-baseurl}

site-url=(value of the url config option)
{site-url}

env=site
github

env-site
{env-site}

site-gen=jekyll
{site-gen} site-gen-jekyll
{site-gen-jekyll}

builder=jekyll
{builder}

builder-jekyll
{builder-jekyll}

jekyll-version=(value of the Jekyll::VERSION constant)
{jekyll-version}

idprefix

idseparator=-
-

linkattrs=@
{linkattrs}

The following additional attributes are defined per page:

outpath=(path of page relative to baseurl
{outpath}

You can pass custom attributes to AsciiDoc, or override default attributes provided by the plugin, using the attributes option of the asciidoctor block in your _config.yml. The value of this option can either be an Array containing key-value pairs:

Asciidoctor Diagram is a set of extensions for Asciidoctor that allow you to embed diagrams generated by PlantUML, Graphviz, ditaa, Shaape, and other plain-text diagram tools inside your AsciiDoc documents. In order to use Asciidoctor Diagram in a Jekyll project successfully, you must use a version of this plugin >= 2.0.0. Other combinations are known to have issues.

Header 3

Header 4

Header 5
Header 6

======= Header 7

Scheint es nicht zu geben, sondern nur bis 6

Diagram Sample

digraph g {
    a -> b
    b -> c
    c -> d
    d -> a
}

Header 3

Noch etwas Inhalt

  • Listenzeile 1

  • Listenzeile 2

    • Zeile 2.2

puts "Hello, World!"