MacDownApp / macdown

Open source Markdown editor for macOS.
https://macdown.uranusjr.com/
9.43k stars 1.09k forks source link

Add line numbers #23

Open jd-boyd opened 10 years ago

jd-boyd commented 10 years ago

An option to turn on a display line numbers on the left would be nice.

sdjmchattie commented 8 years ago

I too think this would be useful. At the moment, if there are rogue carriage returns when copying text from elsewhere, then you cannot easily tell in MacDown.

RoyiAvital commented 8 years ago

This is a must. Moreover, does it have support for Commenting Syntax?

Comments + Line Numbering will make it Collaboration Friendly.

Thank You.

sdjmchattie commented 8 years ago

@RoyiAvital There is no comment syntax in MarkDown

RoyiAvital commented 8 years ago

I think I saw something like that in other MarkDown applications.

I think CommonMark has one. It would be great to support CommonMark as well.

Jmuccigr commented 8 years ago

HTML comments work. Look what happens to this code:

one

<!--
comments
can
go
here
 -->

two

one

two

marrtinol commented 7 years ago

I think this would be useful also. It's very kind of you to add this enhancement.

paulbhartzog commented 7 years ago

Yes, other markdown editors, even onine, show line numbers as well as striped tables for code blocks. Plz add. :-)

grimwinoleader commented 7 years ago

+line numbers

aaronraimist commented 7 years ago

In the future @CarlKing5019 @paulbhartzog @grimwinoleader, please just click this thumbs up button

screen shot 2016-10-28 at 5 59 06 pm

instead of making a new comment.

cederberg commented 7 years ago

As a stop-gap alternative to adding line numbers, it would be nice to have the current line & column numbers displayed at the bottom (next to the word counts perhaps?).

This might also be a helpful stop-gap measure for #544 (vertical ruler).

Below is a small screenshot from BBEdit showing what I mean. This feature is common in many plain-text editors.

screen shot 2017-03-08 at 09 55 56
reorx commented 5 years ago

No further updates? Such a disappointment.

iamthebot commented 4 years ago

This is the one missing feature for me. Super useful when eg; making edits based on a pull request review. Hop to line number would be nice too.

dr-norton commented 4 years ago

any progress in more than 5 years? it's "sine qua non" for sure. please...

iwan-uschka commented 3 years ago

Let's pull a https://github.com/gkoberger/stacksort/pull/4#issuecomment-747656340 here..