Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code highlighting? #3

Open
scarroll32 opened this issue May 26, 2018 · 1 comment
Open

Code highlighting? #3

scarroll32 opened this issue May 26, 2018 · 1 comment

Comments

@scarroll32
Copy link

Great gem, exactly what I was looking for.

I was wondering how I would do code syntax highlighting?

@ytbryan
Copy link
Owner

ytbryan commented Jul 11, 2019

Just updated this gem to 0.2.0.

To support syntax highlighting, you only need to add coderay gem into Gemfile and run bundle install

gem 'coderay'

At your .md files, code block will (should) inherit syntax highlighting

    ```ruby
        class Something 
        end
    ```
    class Something 
    end

let me know if this works for you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants