Code Indent function

John's Avatar

John

28 Jan, 2014 04:21 PM

Hi,

I hope I'm not missing a function that already exists, but I write a lot of MD where I include multi-line code blocks. The only way I can reliably get those to show as code seems to be to "4 space" or tab at the start of every line in the block which, for anything over a few lines, is a real pain. Is there - or can there be - a way to select a block of text and add a tab in front of every line automatically, i.e. to convert it all to code style?

Thanks!

  1. 1 Posted by John on 28 Jan, 2014 04:54 PM

    John's Avatar

    Ack. I apologize - wrong site for one, and now I've also found Ctrl-Option Right-Arrow which seems to do exactly the same thing. Sorry about that - please close ;)

  2. 2 Posted by John on 28 Jan, 2014 04:58 PM

    John's Avatar

    Ctrl-Command Arrow, sorry. And the ``` blocks which for some reason didn't work for me before but work perfectly now. I suck, and MMD Composer continues to rock :)

  3. Support Staff 3 Posted by fletcher on 28 Jan, 2014 05:16 PM

    fletcher's Avatar

    No worries!

    :)

    F-

  4. fletcher closed this discussion on 28 Jan, 2014 05:16 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

09 Nov, 2018 04:49 PM
09 Nov, 2018 04:46 PM
09 Nov, 2018 04:44 PM
11 Oct, 2018 02:59 AM
22 Apr, 2018 11:04 PM

Recent Articles