patrickdavey / vimwiki_markdown

A gem to use for converting vimwiki markdown files to html.
MIT License
144 stars 16 forks source link

Use extension attribute to determine how to prune file name #15

Closed bowmanat closed 5 years ago

bowmanat commented 6 years ago

When saving Markdown files with an extension other than .md, such as .wiki, their extensions were not pruned when converting to html. For example, the file index.wiki was converted to index.wiki.html.

patrickdavey commented 6 years ago

Thanks for the PR. Would you be able to add a basic covering spec (to cover the normal case and the case you're protecting against?)

bowmanat commented 6 years ago

Sure! It might be a little while though before I have time.

patrickdavey commented 5 years ago

Closing, this is now incorporated into https://github.com/patrickdavey/vimwiki_markdown/pull/17