toto/kirby-soft-hyphens 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

toto/kirby-soft-hyphens

最新稳定版本:v0.0.2

Composer 安装命令:

composer require toto/kirby-soft-hyphens

包简介

Kirby plugin to render soft hyphens markers in writer fields

README 文档

README

Render visible soft hyphens ­ in k-writer fields.

Can be used in combination with Kirby Hidden Characters. That plugin adds a custom font to render (normally invisible) characters like spaces, line breaks, etc.

Unfortunately most applications (like modern browsers) will not make use of the glyph that is provided for the (control character) soft hyphen.

This plugin adds visual markers by appending them to soft hyphens in writer fields when they are mounted. The markers are wrapped in a custom <shy> tag.

(This tag will not be stored back to the content.txt as it's not on the allowed tags list of ProseMirror. So the highlight is only visible in the panel.)

Installation

composer require toto/kirby-soft-hyphens

Upcoming features / ideas

  • Add custom writer mark to add a soft hyphen to the text.

统计信息

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

GitHub 信息

  • Stars: 11
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-30