Forum Archive

Custom Processor possible?

deiffert

First off, I love editorial. It's just amazing.

I use kramdown for writing. The feature I use it for is it's support for classes.

A simple paragraph with an ID attribute.
{: #para-one}

and

This *is*{:.underline} some text.

In Marked 2 I simply use kramdown as a custom processor. Is there any way to achieve something similar here for the 'preview' in Editorial? Just wanting to preview to have the custom classes.

Thanks,
- David

omz

In general, it is possible to create custom previews via Python, but since kramdown is written in Ruby, it would probably be a major effort to get it working in Editorial.

deiffert

Ah, that's what I was afraid of! :) Although kind of what I figured.

omz, you're literally a hero in this community, thanks for all you do!