You can convert MD to HTML with this

http://search.cpan.org/~bobtfish/Text-Markdown-1.000031/lib/Text/Markdown.pm

or this

http://search.cpan.org/~naoya/Template-Plugin-Markdown-0.02/lib/Template/Plugin/Markdown.pm

And I presume you can store/retrieve it with this

http://search.cpan.org/~bigpresh/Dancer-Plugin-Database-1.82/lib/Dancer/Plugin/Database.pm

Is there anything else you needed to do to get it working?

Daniel




From:        Assaf Gordon <gordon@cshl.edu>
To:        dancer-users <dancer-users@perldancer.org>
Date:        06/07/2012 16:40
Subject:        [Dancer-users] rendering markdown/wiki/etc with dancer?
Sent by:        dancer-users-bounces@perldancer.org




Hi,

I'd like to store text blobs in a database,
and render them to HTML with Dancer, with minimal formatting capabilities.

It's for a small, self-contained project, so I was thinking something like markdown/reStructured/Wiki or similar.
I only need very basic text formatting, nothing fancy.

Any recommend Perl modules to do that?

Thanks,
-gordon


_______________________________________________
Dancer-users mailing list
Dancer-users@perldancer.org
http://www.backup-manager.org/cgi-bin/listinfo/dancer-users