added support for markdown pages