Package Usage: go: github.com/russross/blackfriday/v2
Package blackfriday is a markdown processor.
It translates plain text with simple formatting rules into an AST, which can
then be further processed to HTML (provided by Blackfriday itself) or other
formats (provided by the community).
The simplest way to invoke Blackfriday is to call the Run function. It will
take a text input and produce a text output in HTML (or other format).
A slightly more sophisticated way to use Blackfriday is to create a Markdown
processor and to call Parse, which returns a syntax tree for the input
document. You can leverage Blackfriday's parsing for content extraction from
markdown documents. You can assign a custom renderer and set various options
to the Markdown processor.
If you're interested in calling Blackfriday from command line, see
https://github.com/russross/blackfriday-tool.
Blackfriday includes an algorithm for creating sanitized anchor names
corresponding to a given input text. This algorithm is used to create
anchors for headings when AutoHeadingIDs extension is enabled. The
algorithm is specified below, so that other packages can create
compatible anchor names and links to those anchors.
The algorithm iterates over the input text, interpreted as UTF-8,
one Unicode code point (rune) at a time. All runes that are letters (category L)
or numbers (category N) are considered valid characters. They are mapped to
lower case, and included in the output. All other runes are considered
invalid characters. Invalid characters that precede the first valid character,
as well as invalid character that follow the last valid character
are dropped completely. All other sequences of invalid characters
between two valid characters are replaced with a single dash character '-'.
SanitizedAnchorName exposes this functionality, and can be used to
create compatible links to the anchor names generated by blackfriday.
This algorithm is also implemented in a small standalone package at
github.com/shurcooL/sanitized_anchor_name. It can be useful for clients
that want a small package and don't need full functionality of blackfriday.
4 versions
Latest release: over 4 years ago
13,893 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/russross/blackfriday/v2
Dependent Repos 22
healthdatahub/outils-pour-la-plateforme-technologique/ingestion-transfo-tools
Last synced: 6 days ago - Pushed: 11 months ago
swh/infra/ci-cd/3rdparty/cert-manager-webhook-gandi
Last synced: 7 months ago - Pushed: 11 months ago
radiofrance/dib
An opinionated docker image builderSize: 3.61 MB - Last synced: 6 days ago - Pushed: 6 days ago

radiofrance/gitlab-ci-pipelines-exporter
Rewrite of https://github.com/mvisonneau/gitlab-ci-pipelines-exporter without Gitlab API requestsSize: 546 KB - Last synced: 6 days ago - Pushed: 6 days ago

radiofrance/ipahealthcheck_exporter Fork of camptocamp/ipahealthcheck_exporter
Prometheus exporter for exposing ipa-healthcheck tool checks as metricsSize: 60.5 KB - Last synced: 6 days ago - Pushed: almost 4 years ago

signaux-faibles/prepare-import
đŸ“¥ Scripts de prĂ©paration Ă l'importation de donnĂ©es dans le processus d'intĂ©grationSize: 276 KB - Last synced: 6 days ago - Pushed: 4 months ago


radiofrance/helm-chart-sonarqube Fork of SonarSource/helm-chart-sonarqube
Size: 2.99 MB - Last synced: 7 months ago - Pushed: 9 months ago

web-et-numerique/factory/llle_project/cozy-stack
Fork of cozy-stack https://github.com/cozy/cozy-stackLast synced: 7 months ago
