Feature #17229

Convert ASCII typography into HTML entities using SmartyPants (libtext-typography-perl)

Added by sajolida 2019-11-13 19:05:24 . Updated 2019-11-13 19:05:37 .

Status:
Confirmed
Priority:
Low
Assignee:
Category:
Target version:
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Website
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

We’ve had the “typography” plugin of ikiwiki enabled in our config since the beginning of times. It requires the libtext-typography-perl package to work but it’s not enabled on the server nor mentioned in our doc.

This would do smart and nice things, for example, it would convert:

  • ... into
  • ' into
  • " into or
  • -- into

It detects HTML (respects ) and `.

One problem I could detect is our use of for command line.

For example on /doc/first_steps/persistence/copy the --del to rsync becomes because it’s inside of a (and not a ).

If we take this into account while working on Feature #15120, we might be able to activate this plugin without trouble.


Subtasks


Related issues

Blocked by Tails - Feature #15120: Improve styles of command lines and their output In Progress 2017-12-27

History

#1 Updated by sajolida 2019-11-13 19:05:37

  • Tracker changed from Bug to Feature

#2 Updated by sajolida 2019-11-13 19:05:52

  • blocked by Feature #15120: Improve styles of command lines and their output added