New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tdiary-style-emptdiary

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tdiary-style-emptdiary

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Tdiary::Style::Emptdiary

This style is an extension to the tDiary style which allows plug-in arguments to have empty lines. In short, this style preserves empty lines between <% and %> when splltting the input into sections.

The latest version of this file can be downloaded from http://zunda.freeshell.org/d/misc/style/emptdiary/emptdiary_style.rb

Installation

Add this line to your application's Gemfile:

gem 'tdiary-style-emptdiary'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tdiary-style-emptdiary

Usage

if you want to use this style, add the following line into tdiary.conf:

@style = 'emptdiary'

Please see README.rd or README.rd.en for further explanation.

Acknowledgements

This style is realized using TdiarySection and TdiaryDiary as super-classes. I thank the authors of tdiary_style.rb for providing such flexible classes.

EmptdiaryDiary::to_html4 and EmptdiaryDiary::to_chtml are copied from tdiary_style.rb and slightly edited as follows:

  • split_unless_plugin() is inserted before each collect()
  • Regexp is chanegd from ^ to \A

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
  • Copyright 2003 zunda

FAQs

Package last updated on 28 Sep 2013

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