Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 15 years ago

#3816 closed enhancement (wontfix)

support latex-like formatting for em and en dashes

Reported by: dcrosta@… Owned by: Jonas Borgström
Priority: low Milestone:
Component: wiki system Version: 0.9.4
Severity: trivial Keywords: wiki syntax, dash
Cc: dcrosta@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I often find that I write with dashes (not hyphens), so I whipped up a little IWikiSyntaxProvider to support this. I suppose you could have it as a separate component, but I use it often enough that I added it to trac/wiki/formatter.py. Patch attached (against 0.9.4, not sure if that file has changed in more recent versions)

Attachments (1)

dashes.patch (1.9 KB ) - added by dcrosta@… 18 years ago.
IWikiSyntaxProvider patch (against trac/wiki/formatter.py) for em and en dash support

Download all attachments as: .zip

Change History (3)

by dcrosta@…, 18 years ago

Attachment: dashes.patch added

IWikiSyntaxProvider patch (against trac/wiki/formatter.py) for em and en dash support

comment:1 by Christian Boos, 18 years ago

Resolution: wontfix
Status: newclosed

In Trac, which is a developer oriented Wiki, it's quite ofter that you'll see examples of command lines, involving "long" options (e.g. --help). Now if -- gets replaced by an – it will look weird. An — though would look ok (and that's what I do in th:WikiGoodiesPlugin).

comment:2 by anonymous, 15 years ago

I needed en and em dashes as well and coded the th:DashesSyntaxPlugin today, then I was going to open an enhancement request here, but found this ticket :-) Should had searched first and coded later.

IMHO long options should be in ` ` blocks anyway: --help, which would avoid dash substitution.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.