2017 © Pedro Peláez
 

library parsedown-extreme

An extension of Parsedown.

image

benjaminhoegh/parsedown-extreme

An extension of Parsedown.

  • Friday, June 15, 2018
  • by BenjaminHoegh
  • Repository
  • 2 Watchers
  • 1 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

ParsedownExtended , (*1)

Parsedown Extended

Explore Documentation »

Report bug · Request feature · Discussions , (*2)


, (*3)

GitHub Release Packagist Downloads GitHub License, (*4)

Table of contents, (*5)

Introduction

ParsedownExtended is an extention for Parsedown, offering additional features and functionalities. It is designed to provide an easy-to-use Markdown parsing solution while extending the capabilities of the base Parsedown library., (*6)

Stand alone versions of the extended features are also available as separate libraries: - Parsedown Toc - Parsedown Math, (*7)

Features

ParsedownExtended includes a variety of features to enhance your Markdown parsing experience:, (*8)

  • Task Lists: Create simple task lists in Markdown.
  • Smartypants: Automatically convert straight quotes to curly, dashes to en-dash and em-dash, etc.
  • Emoji shortcodes: Support for rendering emojis.
  • Heading Permalinks: Generate permalinks for your headings.
  • Table of Contents: Automatically generate a table of contents based on headings.
  • Keystrokes: Render keystroke combinations.
  • Marking: Mark text within your documents for emphasis or distinction.
  • Superscript and Subscript: Render text as superscript or subscript.
  • Diagrams Syntax Support: Recognizes diagram syntax for integration with libraries like mermaid.js and chart.js.
  • LaTeX Syntax Support: Detects LaTeX syntax, suitable for mathematical expressions, to be rendered with libraries like KaTeX.js.
  • Predefined Abbreviations: Define and use abbreviations easily.
  • GFM Alerts: Create alerts using GitHub Flavored Markdown Alert syntax there can be customized into your own language, or even create your own.
  • Customizable Options: Extensive options for customizing each Markdown element.
  • Additional Features: ParsedownExtended continuously evolves, adding more features over time.

Getting started

Manual

Download the source code from the latest release You must include parsedown.php 1.7+ Include ParsedownExtended.php, (*9)

require 'Parsedown.php';
require 'ParsedownExtra.php'; // optional
require 'ParsedownExtended.php';

use BenjaminHoegh\ParsedownExtended\ParsedownExtended;

$ParsedownExtended = new ParsedownExtended();

echo $ParsedownExtended->text('Hello _Parsedown_!'); # prints: 

Hello Parsedown!, (*10)

// you can also parse inline markdown only echo $ParsedownExtended->line('Hello _Parsedown_!'); # prints: Hello <em>Parsedown</em>!

Using composer

From the command line interface, navigate to your project folder then run this command:, (*11)

composer require benjaminhoegh/parsedown-extended

Then require the auto-loader file:, (*12)

require 'vendor/autoload.php';

use BenjaminHoegh\ParsedownExtended\ParsedownExtended;

$ParsedownExtended = new ParsedownExtended();

echo $ParsedownExtended->text('Hello _Parsedown_!'); # prints: 

Hello Parsedown!, (*13)

// you can also parse inline markdown only echo $ParsedownExtended->line('Hello _Parsedown_!'); # prints: Hello <em>Parsedown</em>!

Bugs and feature requests

Have a bug or a feature request? Please first read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue., (*14)

Contributing

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development., (*15)

All PHP should conform to the Code Guide., (*16)

Community

Get updates on ParsedownExtended's development and chat with the project maintainers and community members., (*17)

Code and documentation copyright 2024 the ParsedownExtended Authors. Code released under the MIT License. Docs released under Creative Commons., (*18)

The Versions

15/06 2018

dev-master

9999999-dev https://github.com/benjaminhoegh/parsedown-extreme

An extension of Parsedown.

  Sources   Download

MIT

The Requires

  • ext-dom *
  • ext-mbstring *
  • php >=5.3.6

 

The Development Requires

parser markdown markdown extra parsedown

15/06 2018

0.1.6

0.1.6.0 https://github.com/benjaminhoegh/parsedown-extreme

An extension of Parsedown.

  Sources   Download

MIT

The Requires

  • php >=5.3.6
  • ext-dom *
  • ext-mbstring *

 

The Development Requires

parser markdown markdown extra parsedown

15/06 2018

0.1.5

0.1.5.0 https://github.com/benjaminhoegh/parsedown-extreme

An extension of Parsedown.

  Sources   Download

MIT

The Requires

 

The Development Requires

parser markdown markdown extra parsedown

15/06 2018

0.1.4

0.1.4.0 https://github.com/benjaminhoegh/parsedown-extreme

An extension of Parsedown.

  Sources   Download

MIT

The Requires

 

The Development Requires

parser markdown markdown extra parsedown

15/06 2018

0.1.3

0.1.3.0 https://github.com/benjaminhoegh/parsedown-extreme

An extension of Parsedown.

  Sources   Download

MIT

The Requires

 

The Development Requires

parser markdown markdown extra parsedown

15/06 2018

0.1.2

0.1.2.0 https://github.com/benjaminhoegh/parsedown-extreme

An extension of Parsedown.

  Sources   Download

MIT

The Requires

 

The Development Requires

parser markdown markdown extra parsedown

11/06 2018

dev-develop

dev-develop https://github.com/benjaminhoegh/parsedown-extreme

An extension of Parsedown.

  Sources   Download

MIT

The Requires

 

The Development Requires

parser markdown markdown extra parsedown

11/06 2018

0.1.1

0.1.1.0 https://github.com/benjaminhoegh/parsedown-extreme

An extension of Parsedown.

  Sources   Download

MIT

The Requires

 

The Development Requires

parser markdown markdown extra parsedown