ivo-valchev/anchor-tags
Composer 安装命令:
composer require ivo-valchev/anchor-tags
包简介
🏷 This Bolt extension adds IDs to HTML elements for use as anchor tags.
README 文档
README
Author: Ivo Valchev
🏷 This Bolt extension adds IDs to HTML elements for use as anchor tags.
Installation:
composer require ivo-valchev/anchor-tags
Usage
See the ivovalchev-anchortags.yaml for all configuration options.
In addition, you can use the anchor_tags filter to add anchor tags
to specific HTML, like so:
{% set html %}
<h2>Hi there</h2>
<p>I am some html.</p>
<strong>It only works on here.</strong>
{% endset %}
{{ html|anchor_tags }}
Running PHPStan and Easy Codings Standard
First, make sure dependencies are installed:
COMPOSER_MEMORY_LIMIT=-1 composer update
And then run ECS:
vendor/bin/ecs check src
统计信息
- 总下载量: 274
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-07-06