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

breakout_parser

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

breakout_parser

  • 0.0.31
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Breakout Parser

  • simplified Textile parser with some Assembla-specific features
  • converts Textile into HTML

Build dependencies

  • You will need Flex, Bison, GCC, and GNU Make to build this gem.

Development

Compiling and testing - just run 'rake' in the repos root dir

Just compiling - just run 'rake build_ext'

Testing - just run 'rspec' or 'rspec spec/'

Usage

require 'breakout_parser' puts BreakoutParser.parse("h1. xxx", "my_space")

prints:

xxx

puts BreakoutParser.parse_links_only("h1. http://xxx", "my_space")

prints: h1. http://xxx

Arguments

BreakoutParser.parse( data, # data to parse space_name, # space name - for links parsing site_url, # [optional] global site url vcs_url, # [optional] custom VCS url - f.ex. for github-hosted repos absolute_urls, # [optional] boolean value that denotes if URLs have to be absolute large_files_url, # [optional] URL used for large files (i.e. when using ADN/CDN) data_attributes, # [optional] hash of data attributes that would be added to links )

FAQs

Package last updated on 12 Jun 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