Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

remi-syntax-on

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remi-syntax-on

  • 0.1.11
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

== syntax-on

Syntax-on is a library for highlighting source by automating vim

It also has a command line interface and a paste-bin style website http://syntax-on.org

== Gem Usage

require 'syntax-on'

example specifying syntax

puts SyntaxOn.new("class Dog; end", :syntax => :ruby).to_html

example using a modeline

puts SyntaxOn.new("class Dog; end\n# vim:set ft=ruby:").to_html

== Command Line Usage

$ syntax-on highlight my-ruby-file.rb

$ syntax-on highlight --syntax ruby --code "some code to highlight as ruby"

$ syntax-on highlight --code -s ruby < some-ruby-file-from-STDIN

$ syntax-on highlight --preview will-preview-in-firefox.rb

$ syntax-on help highlight # for more help information

== License

Syntax-on is released under the terms of the terms of the GNU General Public License

See COPYING

FAQs

Package last updated on 10 Aug 2014

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc