Skip to content

Add's coderay syntax highlighting to YARD docs

License

Notifications You must be signed in to change notification settings

sagmor/yard-coderay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yard-coderay

This YARD plugin enables syntax highlighting to all CodeRay supported languages.

Usage

Install the gem

$ gem install yard-coderay

Document your code and tag the sample code language

# Some method description
#
#       !!!html
#       <p>some HTML example code</p>
#
def some_method
  # ...
end

Run YARD

$ yardoc --plugin coderay

And now your code samples should be documented with the tagged language syntax highlighting

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/sagmor/yard-coderay. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

About

Add's coderay syntax highlighting to YARD docs

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published