Adds CodeRay syntax highlighting support to RedCloth, with a 'source' tag. See the examples below.
A short summary of what you can do:
foo - Use this tag to produce CodeRay highlighted HTML for the contents within that tag. The language defaults to Ruby.
source:cssfoo - Highlight as usual, but highlight as CSS. Supports everything CodeRay supports. Refer to the CodeRay documentation for a list of supported languages.
You can also use the tag.
== Installing
Installation as usual:
sudo gem install redclothcoderay
You can also install the gem via github, to get the latest HEAD.
Hello, this is textilized. It also has @inline_code_examples!
What about a multi-line code sample?
<h1>Hello, world!</h1>
FAQs
Unknown package
We found that augustl-redclothcoderay demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 2 open source maintainers collaborating on the project.
Package last updated on 11 Aug 2014
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.