Skip to content

Commit

Permalink
Support .mdwn file extension for Markdown sources
Browse files Browse the repository at this point in the history
.mdwn is used by IkiWiki http://ikiwiki.info Wiki compiler for Markdown
formatted pages. Support this extension in Landslide, too.
  • Loading branch information
tjormola committed Dec 11, 2012
1 parent 11ceed5 commit 35a8574
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -74,8 +74,8 @@ If you want to stay on the edge:

## Markdown

- Your Markdown source files must be suffixed by `.md`, `.markdn`, `.mdown` or
`.markdown`
- Your Markdown source files must be suffixed by `.md`, `.markdn`, `.mdwn`,
`.mdown` or `.markdown`
- To create a title slide, render a single `h1` element (eg. `# My Title`)
- Separate your slides with a horizontal rule (`---` in markdown) except at the
end of md files
Expand Down
2 changes: 1 addition & 1 deletion src/landslide/parser.py
Expand Up @@ -17,7 +17,7 @@
import re

SUPPORTED_FORMATS = {
'markdown': ['.mdown', '.markdown', '.markdn', '.md', '.mdn'],
'markdown': ['.mdown', '.markdown', '.markdn', '.md', '.mdn', '.mdwn'],
'restructuredtext': ['.rst', '.rest'],
'textile': ['.textile'],
}
Expand Down

0 comments on commit 35a8574

Please sign in to comment.