MacDownApp / macdown

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

Vertical Ruler Support #544

Open kstanley-contec opened 8 years ago

kstanley-contec commented 8 years ago

In other editors that support vertical rulers, I like to have two rulers: one at 80 columns and another at 120 columns. This allows me to format my documents so that people reading them in fixed-sized terminal windows--or otherwise small screens--can read them without having to scroll left or right. I am requesting support for being able to add one or more vertical rulers to MacDown. Thank you.

Jmuccigr commented 8 years ago

Horizontal?

kstanley-contec commented 8 years ago

Attached is an example screenshot to demonstrate the vertical rulers (top to bottom, as in delineating a column width). The editor used for the screenshot is Sublime Text 3, and the rulers are set to 80 and 120 columns.

Edit: Removed email stuffs.

Jmuccigr commented 8 years ago

Nothing there.

kstanley-contec commented 8 years ago

My apologies. I didn't realize Github would filter the inline image. vertical-ruler-example

Jmuccigr commented 8 years ago

Ah, I see (barely!). They're not really rulers though, just rules or borders or margins.

kstanley-contec commented 8 years ago

I wasn't sure what to call them, so I went based on what the preference in Sublime Text called them. But yes, they are simply visual indicators (almost like a border-left/right on a div) for where the 80th and 120th column (in my example) are. I can have zero or more of these indicators defined at any arbitrary column position.

Jmuccigr commented 8 years ago

I see why that might be useful.

I have to say though that on my laptop (1280px wide), with Menlo Regular 13pt font, I get <80 char per line already. 120 is way out beyond the editor pane.

kstanley-contec commented 8 years ago

On my laptop I am in the same boat as you; however when I use my wife's 27" monitor (2560px) it is very easy to go beyond 80/120. Now, I use 80/120 as only an example. Some people might want to use different ruler settings (I can't think of a reason, but why limit people?)

calvinjuarez commented 7 years ago

I'd like to see customizable rules/guides as well. At least 1 configurable in preferences, but if more than one is do-able, others may find that helpful. I only ever use 1 at 100 columns.

Does anyone know if there's a plugin for this?