Forum

Thread tagged as: Question, Field-Types

Adding classes in Markdown

Is there a way to add a class to a list item using markdown?

Brandon Livengood

Brandon Livengood 1 points

  • 7 years ago

Check this out: https://grabaperch.com/blog/archive/perch-25-textile-and-markdown-update

Looks like they're using Markdown Extra (https://michelf.ca/projects/php-markdown/extra/), which I think does let you add classes. See the section "Special Attributes".

Drew McLellan

Drew McLellan 2638 points
Perch Support

We're actually using Parsedown and SmartyPants

https://parsedown.org/demo

Thanks guys