定制 grommasdietz/kirby-hidden-characters 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

grommasdietz/kirby-hidden-characters

最新稳定版本:v2.0.12

Composer 安装命令:

composer require grommasdietz/kirby-hidden-characters

包简介

Visually show hidden characters on Kirby CMS

README 文档

README

Kirby CMS plugin to visually show hidden characters like spaces, soft hyphens, line breaks or paragraph endings in focused writer, textarea and text fields. The dimmed visual feedback is based on the appearance of Adobe’s solution in InDesign, providing a familiar experience for content editors.

Cover image showing an example of the plugin in use

Legend

The plugin visualizes the following characters using a custom icon font:

Name Unicode Character Description
Space U+0020 Space Space Centered dot
Thin Space U+2009 Thin Thin Centered dot with chevron above
No-Break Space U+00A0 No break No break Centered dot with inverted chevron below
Narrow No-Break Space U+202F Narrow no break Narrow no break Centered dot with inverted chevron above
Em Space U+2003 Em Em Centered dot with em dash below
En Space U+2002 En En Centered dot with en dash below
Three-Per-Em Space U+2004 Three Three Centered dot with large dot above
Four-Per-Em Space U+2005 Four Four Centered dot with large dot below
Six-Per-Em Space U+2006 Six Six Centered dot with same-sized dot below
Hair Space U+200A Hair Hair Centered dot with two small dots above
Punctuation Space U+2008 Punctuation Punctuation Centered dot with dot below and vertical stroke above
Figure Space U+2007 Figure Figure Centered dot inside number sign
Medium Mathematical Space U+205F Math Math Centered dot with negation sign above
Zero-Width Space U+200B Zero width Zero width Dashed vertical stroke
Soft Hyphen U+00AD Soft hyphen Soft hyphen Vertical stroke indicating possible hyphenation
Line Break U+000A Break Break Negation sign representing hard line break
Paragraph End Paragraph Paragraph Pilcrow sign representing the end of paragraph
Story End Paragraph end Paragraph end Number sign representing the end of the entire text block

Requirements

  • Kirby 4+

Installation

You can install the plugin via one of three methods:

  1. Download

    Download and copy this repository to /site/plugins/kirby-hidden-characters.

  2. Git Submodule

    git submodule add https://github.com/grommasdietz/kirby-hidden-characters.git site/plugins/kirby-hidden-characters
  3. Composer

    composer require grommasdietz/kirby-hidden-characters

Configuration

This plugin works out of the box with no configuration required

Credits

The foundational logic for v2 of this plugin is adapted from the Kirby Soft Hyphens plugin by @hansipete. Thank you!

License

MIT

统计信息

  • 总下载量: 399
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 43
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 43
  • Watchers: 0
  • Forks: 0
  • 开发语言: SCSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-02-21