1. markdown-it-abbr
<abbr> tag for markdown-it markdown parser.
markdown-it-abbr
Package: markdown-it-abbr
Created by: markdown-it
Last modified: Wed, 06 Dec 2023 05:23:06 GMT
Version: 2.0.0
License: MIT
Downloads: 696,234
Repository: https://github.com/markdown-it/markdown-it-abbr

Install

npm install markdown-it-abbr
yarn add markdown-it-abbr

markdown-it-abbr

CI
NPM version
Coverage Status

Abbreviation (<abbr>) tag plugin for markdown-it markdown parser.

v1.+ requires markdown-it v4.+, see changelog.

Markup is based on php markdown extra definition, but without multiline support.

Markdown:

*[HTML]: Hyper Text Markup Language
*[W3C]:  World Wide Web Consortium
The HTML specification
is maintained by the W3C.

HTML:

 <p>The <abbr title="Hyper Text Markup Language">HTML</abbr> specification
is maintained by the <abbr title="World Wide Web Consortium">W3C</abbr>.</p>

Install

node.js, browser:

 npm install markdown-it-abbr --save
bower install markdown-it-abbr --save

Use

 var md = require('markdown-it')()
            .use(require('markdown-it-abbr'));

md.render(/*...*/) // see example above

Differences in browser. If you load script directly into the page, without
package system, module will add itself globally as window.markdownitAbbr.

License

MIT

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code