Displaying 4 results from an estimated 4 matches for "emdash".
Did you mean:
mdash
2006 Aug 23
0
emdash vs <del>
Hey guys. Is this a bug or what?
>> RedCloth.new("First part -- middle part -- end part.").to_html
=> "<p>First part <del>- middle part -</del> end part.</p>"
But http://textism.com/tools/textile/index.php says the output should
be:
<p>First part—middle part—end part.</p>
Thing is, I *want*
2008 Jan 04
0
entities and spacing: (em|en)dash and arrow
Hello,
I notice that these entities are defined like this:
def emdash opts
"—"
end
def endash opts
"–"
end
def arrow opts
"→"
end
However, any space from the original markup is stripped, so "hello -- world"
becomes "hello—world". I''ve overridden t...
2016 Apr 25
1
Please assist -- Unable to remove '-' character from char vector--
Thank you Jim,
The code did assist me to get the what I needed.
Also, I learnt that there are different types of dashes
(en-dash/em-dash/hyphen) as explained on this site :
http://www.punctuationmatters.com/hyphen-dash-n-dash-and-m-dash/
I achieved it by executing below command after going through this page
on stackoverflow:
2006 Jun 05
2
Bug in RedCloth or in my head?
Instead of emm-dashes I get struck-out text surrounded with single hyphens. RedCloth
3.0.4:
>> d = RedCloth.new "-- hyphens to the left of me, hyphens to the right, all should be emm
dashes --"
=> "-- hyphens to the left of me, hyphens to the right, all should be emm dashes --"
>> d.to_html
=> "<p><del>- hyphens to the left of me, hyphens