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. If you want to use AsciiDoc you need to install it from `source
  9. <http://www.methods.co.nz/asciidoc/INSTALL.html>`_ or use your operating
  10. system's package manager.
  11. **Note**: AsciiDoc does not work with Python 3, so you should be using Python 2.
  12. Settings
  13. --------
  14. ======================================== =======================================================
  15. Setting name (followed by default value) What does it do?
  16. ======================================== =======================================================
  17. ``ASCIIDOC_OPTIONS = []`` A list of options to pass to AsciiDoc. See the `manpage
  18. <http://www.methods.co.nz/asciidoc/manpage.html>`_.
  19. ``ASCIIDOC_BACKEND = 'html5'`` Backend format for output. See the `documentation
  20. <http://www.methods.co.nz/asciidoc/userguide.html#X5>`_
  21. for possible values.
  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...