Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Conversation

@maxlinc
Copy link
Contributor

@maxlinc maxlinc commented May 22, 2014

This is a possible answer for #104. Even if it's not the best solution, it should give you an idea of what I had in mind for #104.

This mostly moves the Rocco#parse method (and some related code) to a new class: Rocco::CodeSegmenter. This class does not do anything related to Markdown rendering, syntax highlighting, or writing HTML. So it would be easier to re-use this for other purposes, like the cases I described in #104.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant