#3816 closed enhancement (wontfix)
support latex-like formatting for em and en dashes
| Reported by: | 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)
Change History (3)
by , 19 years ago
| Attachment: | dashes.patch added | 
|---|
comment:1 by , 19 years ago
| Resolution: | → wontfix | 
|---|---|
| Status: | new → closed | 
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 , 17 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.



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