Render me some HTML!
+diff --git a/README.adoc b/README.adoc index c192044..84ab5f7 100644 --- a/README.adoc +++ b/README.adoc @@ -59,20 +59,93 @@ There's nothing special about installing this RPM. I recommend using `yum` becau Now, it's time to start using Asciidoctor! -== Basic Asciidoctor usage +== Testing the asciidoctor package and reporting feedback -Create a file named asciidoctor-test.rb and populate it with the following code: +Before the asciidoctor package can be included in the Fedora distribution, it must be tested by users and receive karma via the http://admin.fedoraproject.org/updates/[Bohdi system]. One way to do this is to use http://admin.fedoraproject.org/pkgdb/acls/name/fedora-easy-karma[fedora-easy-karma]. + +=== Enable the updates-testing repository temporarily + +In a terminal, type: + + sudo yum install rubygem-asciidoctor --enablerepo=updates-testing + +This command will download and install the asciidoctor package. + +=== Test the asciidoctor package + +. On your computer, create a new file and name it `asciidoctor-test.rb` +. Copy and paste the following code into the file. require 'asciidoctor' content = "= My First Document\n\nRender me some **HTML**!" puts Asciidoctor.render(content, :header_footer => true, :compact => true) -Now execute the file with Ruby: +. Save the file. +. In a terminal, navigate to the directory where you saved `asciidoctor-test.rb` and type the following command to execute the file with Ruby: ruby asciidoctor-test.rb ++ +You should see this output in your terminal. -You should see the HTML output to your terminal. You can update your script to write it to a file, or just redirect the output: + + +
+ + +Render me some HTML!
+