roromedia/parsedown
最新稳定版本:v0.1.2
Composer 安装命令:
composer require roromedia/parsedown
包简介
A parsedown service with superpowers.
README 文档
README
This library is a small layer on top of erusev/parsedown-extra.
It currently adds support for:
Installation
composer require roromedia/parsedown
Usage
new Parsedown())->text('your Markdown here')
Menu links
You can define your Menu links on top of your markdown pages. Normally these links would not work because the ids are missing from the associated headings.
This library solves the problem and connects them.
As an example:
# Twig Query A module for querying content inside TWIG-Templates - [Installation](#installation) # Installation 1. Install with composer:
... gets converted to:
<h1>Twig Query</h1> <p>A module for querying content inside TWIG-Templates</p> <ul> <li><a href="#installation">Installation</a></li> </ul> <h1 id="installation">Installation</h1>
As you can see - <h1 id="installation">Installation</h1> has the correct id and therefore the menu list is working
again.
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-07