Package uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
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 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 15 Nov 2009
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.
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.