You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

30 lines
573 B

////
Included in:
- user-manual: Stylesheet Factory: Applying a stylesheet
////
Let's practice applying a stylesheet to a simple AsciiDoc file.
. Create an AsciiDoc file like the one below.
. Save the file as [.path]_mysample.adoc_.
// end
[source]
----
= Introduction to AsciiDoc
Doc Writer <doc@example.com>
A preface about http://asciidoc.org[AsciiDoc].
== First Section
* item 1
* item 2
[source,ruby]
puts "Hello, World!"
----
Next, you'll use the Asciidoctor processor to generate HTML and apply a stylesheet to it from the [.path]_stylesheets/_ directory.