Kiwi has the concept of 'permalinks', which correspond to a snake_case markdown
file (i.e. wiki_page.md). Some markdown apps like nvALT and and GitHub
wiki let you create markdown files like "Wiki page.md" or "Wiki
Page.md".
This commit maps a permalink like wiki_page to several possible
filenames which are then attempted to be read in order. This fixes an
issue where adding markdown files with capitalized filenames or spaces
created in other markdown editors would not open in Kiwi.
Kiwi has the concept of 'permalinks', which correspond to a snake_case markdown file (i.e. wiki_page.md). Some markdown apps like nvALT and and GitHub wiki let you create markdown files like "Wiki page.md" or "Wiki Page.md".
This commit maps a permalink like wiki_page to several possible filenames which are then attempted to be read in order. This fixes an issue where adding markdown files with capitalized filenames or spaces created in other markdown editors would not open in Kiwi.
Fixes https://github.com/landakram/kiwi/issues/15