HomePhorge

Generate more friendly anchor names for header sections in Remarkup

Description

Generate more friendly anchor names for header sections in Remarkup

Summary:
Depends on D20820. Ref T13410. We currently cut anchor names in the middle, don't support emoji in anchors, and generate relatively short anchors.

Generate slightly longer anchors, allow more unicode, and try not to cut things in the middle.

Test Plan: Created a document with a variety of different anchors and saw them generate more usable names.

Maniphest Tasks: T13410

Differential Revision: https://secure.phabricator.com/D20821

Details

Provenance
epriestleyAuthored on Sep 18 2019, 3:19 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP74d6bcbdceb9: Allow a user to target "#anchor" by navigating to any prefix
Branches
Unknown
Tags
Unknown

Event Timeline