1

I am writing a technical manual using git.

Is there any problem caused if I use en or em dash such as —?

(For example) Voltage: 5–12 V

Some people say, when this special character is rendered from Markdown to HTML, the rendered character might be broken in some websites.

jkdev
  • 10,404
  • 15
  • 54
  • 77
David
  • 31
  • 1
  • 2
  • 1
    This has nothing to do with Git, but I am curious as to who these "some people" are, since even Lynx knows how to render an em or en dash as plain text... – torek Dec 05 '19 at 00:33
  • Nope, as long as it's UTF-8 from beginning to end (which should be the default everywhere nowadays), should be no problem.. – mb21 Dec 08 '19 at 18:54

1 Answers1

0

As seen here, this should work.

But, from experience, that makes copy-pasting the content of your technical documentation sometimes frustrating is that em dash is used for command option (--anoption)

VonC
  • 1,129,465
  • 480
  • 4,036
  • 4,755