Add nyaize syntax #3980
No reviewers
Labels
No Label
1️⃣ Good First Issue
❓needs more investigation
Accessibility
Antennas
Channels
Chat
Clips
CP/Settings
dependencies
Docker
Drive
External
Galleries
Groups
i18n
javascript
Kubernetes
Lists/Circles
Mobile
Mutes/Blocks
Notifications
Posts/Timelines
Widgets
‼️ wrong locales
☢️Breaking
♻️Duplicate
⚙️Server
⚠️bug?
✨Feature
🧩API
🐛Bug
💬Discussion
📖Doc
🌌Federation
💴has reward
🔥high priority
🚫Invalid
🙏low priority
🖍MFM
🧪needs test
📜Pages
🐢Performance
💚Refactor
🏠Room
🔒Security
🤖Service Worker
🧪Test
🚧WIP
🗿Wontfix
👩💻AiScript
🖥️Client
🛠️Dev
🏳️needs help
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: firefish/firefish#3980
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "nya"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Summary
Resolves #3974
Syntax
It's not mfm syntax.
<nya>
-> starts nyaize enable zone</nya>
-> ends nyaize enable zone<!nya>
-> starts nyaize disable zone</!nya>
-> ends nyaize disable zoneShould add some tests.
@acid-chicken Please clarify your solution to the issue so that we can review your PR.
#3974 を解決する目的なら、サーバー側でMFM解析した上で検索構文やハッシュタグ以外のところだけnyaizeするようにした方がシンプルそう
@syuilo 一部の場所だけ暗黙的にnyanizeが解除されたりするのはちょっと気持ち悪そうというのがあります。
サーバー側で解析する必要ありますか?クライアント側では不十分ですか?
クライアントでもいいかもしれませんがクライアントが対応してないとnyaizeされなくなってしまう点が微妙
(Cat機能は問答無用で な が にゃ になってしまう理不尽さを楽しむジョーク機能なので)
なので知る人ぞ知る隠し構文みたいな感じでしれっと実装できちゃったりしませんか。
Pull request closed