Skip to content

Conversation

@milmazz
Copy link
Member

@milmazz milmazz commented May 29, 2015

This commit includes the following:

  • Improve pretty_codeblocks function to work with Hoedown and Pandoc
  • Add more tests for pretty_codeblocks
  • Delete duplicate code in ExDoc.Markdown.to_html

This is a possible fix for #214

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should move this inside each processor, no? :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, you're definitely right, that makes more sense. I'll work on that! Thanks for your feedback 👍

@josevalim
Copy link
Member

This is perfect. I think we should just move the logic specific to each markdown processor inside the markdown processor module and we will be good to go. :)

This commit includes the following:

 * Improve `pretty_codeblocks` function to work with Hoedown and Pandoc
 * Add more tests for `pretty_codeblocks`
 * Delete duplicate code in `ExDoc.Markdown.to_html`
 * Avoid to run too many Regex.replace expressions
 * Add logic for pretty blocks in Hoedown and Pandoc
@milmazz milmazz force-pushed the pretty_code_blocks branch from 42518bd to 9dd34d6 Compare May 30, 2015 02:07
@milmazz
Copy link
Member Author

milmazz commented Jun 2, 2015

@josevalim Do I need to do something else to complete this Pull Request? are you too busy right now to review this?

I'm not in a hurry, I'm just curious, that's all! 👍

@josevalim
Copy link
Member

@milmazz that's ok. please do ping me after changes :) otherwise I am not notified.

josevalim added a commit that referenced this pull request Jun 2, 2015
Handle code blocks with and without language spec
@josevalim josevalim merged commit ce39e21 into elixir-lang:master Jun 2, 2015
@josevalim
Copy link
Member

❤️ 💚 💙 💛 💜

@josevalim
Copy link
Member

@milmazz ex doc needs love so your work is very appreciated, thank you!

@milmazz
Copy link
Member Author

milmazz commented Jun 2, 2015

@josevalim Thanks! 😃

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants