Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Break out Renderers like Migrators #845

Closed
tombell opened this Issue · 6 comments

2 participants

@tombell

It seems like a good time to discuss moving out renderers like we plan to do with the migrators. Rather than populate the core of jekyll with every known renderer for every known format, having external gems is probably a nicer solution.

I'm happy to start looking at an implementation of this if people are :+1:

@parkr
Owner

@benbalter suggested moving to something like Tilt in #819. It should greatly reduce the amount of code we need to render a site's content.

@tombell

Tilt deals more with template languages (liquid, mustache, etc). I'm talking about breaking out the markdown/textile engines and creating a way for people to choose their preferred one without populating the core of jekyll.

@ghost

Wouldn't that also happen in the case of using Tilt, as it would just be a config setting which Markdown renderer to use.

@parkr
Owner

I'd be interested to see a PR about that! How would you structure it?

@ghost

parkr, it seemed that would be the case if using Tilt, I haven't looked into it further but that sounded like how it would probably work.

@tombell

If we can do this sort of thing within tilt https://github.com/mojombo/jekyll/blob/master/lib/jekyll/converters/markdown.rb#L12..L37 then I'm all for using tilt.

@tombell tombell closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.