README.rst 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. AsciiDoc Reader
  2. ###############
  3. This plugin allows you to use `AsciiDoc <http://www.methods.co.nz/asciidoc/>`_
  4. to write your posts. File extension should be ``.asc``, ``.adoc``,
  5. or ``.asciidoc``.
  6. Dependency
  7. ----------
  8. There are two command line utilities commonly used to render AsciiDoc:
  9. ``asciidoc`` and ``asciidoctor``. One of the two will need to be installed and
  10. on the PATH.
  11. **Note**: The ``asciidoctor`` utility is recommended since the original
  12. ``asciidoc`` is no longer maintained.
  13. Settings
  14. --------
  15. ======================================== =======================================================
  16. Setting name (followed by default value) What does it do?
  17. ======================================== =======================================================
  18. ``ASCIIDOC_CMD = asciidoc`` Selects which utility to use for rendering. Will
  19. autodetect utility if not provided.
  20. ``ASCIIDOC_OPTIONS = []`` A list of options to pass to AsciiDoc. See the `manpage
  21. <http://www.methods.co.nz/asciidoc/manpage.html>`_.
  22. ======================================== =======================================================
  23. Example file header
  24. -------------------
  25. Following the `example <https://github.com/getpelican/pelican/blob/master/docs/content.rst#file-metadata>`_ in the main pelican documentation:
  26. .. code-block:: none
  27. = My super title
  28. :date: 2010-10-03 10:20
  29. :modified: 2010-10-04 18:40
  30. :tags: thats, awesome
  31. :category: yeah
  32. :slug: my-super-post
  33. :authors: Alexis Metaireau, Conan Doyle
  34. :summary: Short version for index and feeds
  35. == title level 2
  36. and so on...