I wonder if there is a wiki engine that uses markdown

TiddlyWiki now supports Markdown, or at least a subset of it. It is not a full multi-user web server per se, like MediaWiki. It is a single self-modifying .HTML file. It can be used online (where only the owner can make edits) or offline (stored on a flash drive or C: drive).