Skip to content
Snippets Groups Projects
Commit fb2a25d8 authored by Sarah White's avatar Sarah White Committed by Dan Allen
Browse files

migrate documentation for the AsciiDoc language

parents
No related branches found
No related tags found
No related merge requests found
Showing
with 51 additions and 0 deletions
= Horizontal Rule
A horizontal rule is created by entering three single quotation marks (`++'''++`) on a line.
.Horizontal rule syntax
[source#ex-rule]
----
'''
----
The result of <<ex-rule>> is displayed below.
'''
== Markdown-style horizontal rules
Asciidoctor recognizes Markdown horizontal rules.
The motivation here is to ease migration of Markdown documents to AsciiDoc documents.
To avoid conflicts with AsciiDoc's block delimiter syntax, only 3 repeating characters (`-` or `+*+`) are recognized.
As with Markdown, whitespace between the characters is optional.
.Markdown-style horizontal rule syntax
----
---
- - -
***
* * *
----
A macro definition for the Markdown horizontal rules is included in the AsciiDoc compatibility file so they can be recognized by the `asciidoc` command as well.
This diff is collapsed.
= Masquerading Blocks
Some blocks can masquerade as other blocks, a feature which is controlled by the block style attribute.
= Nesting Blocks
You can nest blocks inside each other.
To nest blocks of the same type, add a pair of extra symbols to the delimiter.
For example:
----
====
This is an example
======
This is an example inside an example
======
====
----
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment