mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #1147 from woshilapin/master
Add 'asciidoc' to the ASCIIDoc possible extensions
This commit is contained in:
commit
ba0f07cc1f
1 changed files with 1 additions and 1 deletions
|
|
@ -340,7 +340,7 @@ class AsciiDocReader(BaseReader):
|
||||||
"""Reader for AsciiDoc files"""
|
"""Reader for AsciiDoc files"""
|
||||||
|
|
||||||
enabled = bool(asciidoc)
|
enabled = bool(asciidoc)
|
||||||
file_extensions = ['asc']
|
file_extensions = ['asc', 'asciidoc']
|
||||||
default_options = ["--no-header-footer", "-a newline=\\n"]
|
default_options = ["--no-header-footer", "-a newline=\\n"]
|
||||||
|
|
||||||
def read(self, source_path):
|
def read(self, source_path):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue