Skip to main content
Commonmark migration
Source Link

##All lines numbers

All lines numbers

To clarify, as the question surfaced a few times, line numbers do not affect copy & paste, in other words, line numbers are not stored in the clipboard when you select the code.

##DRAWBACKS

DRAWBACKS

After some experimentation, it appears the line numbers do carry over using IE 11, but not on other browsers tested. This would make the copied code not compile until they are removed. This may be a pretty big deal breaker, as SE supports IE 11. (thanks @MarcAndre for pointing out)

Also, it would be nice if answers could retain correct line numbers when posting snippets; however there is no way to make a code block not start with line 1. Code in the question occasionally changes (i.e. it might get formatted a bit better) - answers referencing specific line numbers would potentially become confusing.

enter image description here

##All lines numbers

To clarify, as the question surfaced a few times, line numbers do not affect copy & paste, in other words, line numbers are not stored in the clipboard when you select the code.

##DRAWBACKS

After some experimentation, it appears the line numbers do carry over using IE 11, but not on other browsers tested. This would make the copied code not compile until they are removed. This may be a pretty big deal breaker, as SE supports IE 11. (thanks @MarcAndre for pointing out)

Also, it would be nice if answers could retain correct line numbers when posting snippets; however there is no way to make a code block not start with line 1. Code in the question occasionally changes (i.e. it might get formatted a bit better) - answers referencing specific line numbers would potentially become confusing.

enter image description here

All lines numbers

To clarify, as the question surfaced a few times, line numbers do not affect copy & paste, in other words, line numbers are not stored in the clipboard when you select the code.

DRAWBACKS

After some experimentation, it appears the line numbers do carry over using IE 11, but not on other browsers tested. This would make the copied code not compile until they are removed. This may be a pretty big deal breaker, as SE supports IE 11. (thanks @MarcAndre for pointing out)

Also, it would be nice if answers could retain correct line numbers when posting snippets; however there is no way to make a code block not start with line 1. Code in the question occasionally changes (i.e. it might get formatted a bit better) - answers referencing specific line numbers would potentially become confusing.

enter image description here

added 283 characters in body
Source Link
Phrancis
  • 20.4k
  • 34
  • 65

##All lines numbers

To clarify, as the question surfaced a few times, line numbers do not affect copy & paste, in other words, line numbers are not stored in the clipboard when you select the code.

##Update##DRAWBACKS

After some experimentation, it appears the line numbers do carry over using IE 11, but not on other browsers tested. This would make the copied code not compile until they are removed. This may be a pretty minorbig deal breaker, as anSE supports IE 11 user. (thanks @MarcAndre for pointing out)

Also, it would be nice if answers could always just click Edit onretain correct line numbers when posting snippets; however there is no way to make a code block not start with line 1. Code in the question andoccasionally changes (i.e. it might get the raw code from thereformatted a bit better) - answers referencing specific line numbers would potentially become confusing.

enter image description here

##All lines numbers

To clarify, as the question surfaced a few times, line numbers do not affect copy & paste, in other words, line numbers are not stored in the clipboard when you select the code.

##Update

After some experimentation, it appears the line numbers do carry over using IE 11, but not on other browsers tested. This may be pretty minor, as an IE 11 user could always just click Edit on the question and get the raw code from there.

enter image description here

##All lines numbers

To clarify, as the question surfaced a few times, line numbers do not affect copy & paste, in other words, line numbers are not stored in the clipboard when you select the code.

##DRAWBACKS

After some experimentation, it appears the line numbers do carry over using IE 11, but not on other browsers tested. This would make the copied code not compile until they are removed. This may be a pretty big deal breaker, as SE supports IE 11. (thanks @MarcAndre for pointing out)

Also, it would be nice if answers could retain correct line numbers when posting snippets; however there is no way to make a code block not start with line 1. Code in the question occasionally changes (i.e. it might get formatted a bit better) - answers referencing specific line numbers would potentially become confusing.

enter image description here

Added note about IE 11
Source Link
Phrancis
  • 20.4k
  • 34
  • 65

##All lines numbers

To clarify, as the question surfaced a few times, line numbers do not affect copy & paste, in other words, line numbers are not stored in the clipboard when you select the code.

##Update

After some experimentation, it appears the line numbers do carry over using IE 11, but not on other browsers tested. This may be pretty minor, as an IE 11 user could always just click Edit on the question and get the raw code from there.

enter image description here

##All lines numbers

To clarify, as the question surfaced a few times, line numbers do not affect copy & paste, in other words, line numbers are not stored in the clipboard when you select the code.

enter image description here

##All lines numbers

To clarify, as the question surfaced a few times, line numbers do not affect copy & paste, in other words, line numbers are not stored in the clipboard when you select the code.

##Update

After some experimentation, it appears the line numbers do carry over using IE 11, but not on other browsers tested. This may be pretty minor, as an IE 11 user could always just click Edit on the question and get the raw code from there.

enter image description here

clarify copy/paste
Source Link
Phrancis
  • 20.4k
  • 34
  • 65
Loading
Source Link
Phrancis
  • 20.4k
  • 34
  • 65
Loading
Post Made Community Wiki by Phrancis