Skip to content

Latest commit

 

History

History
145 lines (115 loc) · 3.85 KB

sample.adoc

File metadata and controls

145 lines (115 loc) · 3.85 KB

This is Sample Page

This is a description. It would be nice to be able to inject the version number.

Text

Simple text

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris bibendum felis vitae interdum iaculis. Nam ut sollicitudin lectus. Quisque nec dui viverra, pretium leo vel, tempus risus. Proin convallis augue at tempor consectetur. Cras sed suscipit elit, efficitur auctor sapien. Nam elit nibh, varius iaculis vulputate eu, commodo eget diam. Ut auctor ipsum vel velit finibus, non convallis ipsum vehicula. Vivamus vel nisi nec augue blandit dapibus. Maecenas ut metus pellentesque, interdum velit id, ullamcorper nulla. Pellentesque blandit id orci eget sollicitudin. Integer volutpat nibh ac nulla tincidunt tincidunt. Vivamus efficitur odio blandit sem placerat fringilla. Vivamus sit amet justo non diam pellentesque dignissim non vitae felis.

Curabitur ullamcorper est enim, vitae lobortis enim iaculis eu. Curabitur posuere orci diam, eu ornare dui pretium ut. Nunc tellus diam, laoreet eu venenatis blandit, rutrum vitae mauris. Aenean imperdiet sem ac nisl sagittis tincidunt. Fusce rhoncus blandit ultrices. Proin non purus consectetur, euismod nulla vitae, placerat risus. Nam sed interdum tortor.

Hard breaks

Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Mauris bibendum felis vitae interdum iaculis.
Nam ut sollicitudin lectus.
Quisque nec dui viverra, pretium leo vel, tempus risus.

Some formatting, in an ordered list

  • italic

  • bold

  • bold and italic

  • for an command, we can use a monospace phrase

  • what if I want to *escape*? It seems to _work_!!

Containers

Note

Note
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Tip

Tip
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Important

Important
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Caution

Caution
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Warning

Warning
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Titles

level1

level2

level3

level4
level5

Lists

Nested and unordered

  • level1

    • level2

      • level3

      • level3

    • level2

  • level

Nested and ordered

  1. number one

    1. 2nd level number one

      1. 3rd level number one

      2. 3rd level number two

    2. 2nd level number two

  2. number two

Labeled

Option1

This is what happens if I choose one.

Option2

This is what happens if I choose two.

Navigation

A link is autodected in the text http://www.asciidoctor.org.
But I can also attach text to my url. I can also make internal links: go to Lists Cross documentation link is possible. Let’s go to my questions document

Code

In document (with highlighting):

  • Hello world in java:

// this is a comment
public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello world!");
    }
}
  • bash:

# this is a comment
git clone https://github.com/zenorocha/atom-javascript-snippets.git # (1)
cd atom-javascript-snippets
apm install # (2)
apm link
  1. clone the repository

  2. install the plugin

External:

link:Sample.java[role=include]

Part of an external file:

link:Sample.java[role=include]

Tables

Version

Feature 1

Feature 2

1

yes

no

2

yes

yes

Multimedia

Images

Sunset
Figure 1. My GitHub Profile Picture, it is also a link to my profile.

Videos