Project

General

Profile

Feature #17229

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

Added by sajolida 28 days ago. Updated 28 days ago.

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

0%

Feature Branch:
Type of work:
Website
Blueprint:
Starter:
Affected tool:

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 <span> for command line. For example on /doc/first_steps/persistence/copy the @--del@ to @rsync@ becomes @—@ because it's inside of a <span> (and not a <code>). If we take this into account while working on #15120, we might be able to activate this plugin without trouble.


Related issues

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

History

#1 Updated by sajolida 28 days ago

  • Tracker changed from Bug to Feature

#2 Updated by sajolida 28 days ago

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

Also available in: Atom PDF