You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

git.icyphox.sh/grayfriday

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git.icyphox.sh/grayfriday

v0.0.0-20221219034607-cf9a62808d00
Go
Version published
Created
Source

grayfriday

A fork of github.com/russross/blackfriday/v2 with a few changes. Notably:

• Em-dashes swallow spaces. For example: "Foo -- bar" becomes "Foo—bar"
  This is more typographically accurate, while allowing for cleaner looking plaintext.
• En-dashes only between numbers. For example: "8-9 years" becomes "8ndash;9 years".
  Again, this keeps the plaintext more natural (as opposed to writing "8 - 9" years 
  in blackfriday for an en-dash).
• Optional image width/height. For example:
    ![foo image](http://example.com/bar.png){400x800}
  This renders as:
    <p><img src="http://example.com/bar.png" alt="foo style="width:400px; height:800px;" /></p>

INSTALL

go get git.icyphox.sh/grayfriday

LICENSE

Maintains the same license as blackfriday -- Simplified BSD.

FAQs

Package last updated on 19 Dec 2022

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