ryanpcmcquen / workflowyCodeFormatter

:hourglass_flowing_sand: A simple and lightweight solution to the WorkFlowy code dilemma. | https://addons.mozilla.org/en-US/firefox/addon/workflowy-code-formatter/ | https://chrome.google.com/webstore/detail/workflowy-code-formatter/kglihipcanlbglgikjghocmbbbbkfemn
Mozilla Public License 2.0
39 stars 6 forks source link

Paste? #4

Closed terrisgit closed 8 years ago

terrisgit commented 8 years ago

I start text with ` and then command-v to paste in code. Each line of code ends up as a separate bullet point. The items are not formatted as code. Am I doing something wrong?

ryanpcmcquen commented 8 years ago

Hey @terrisgit, sorry you are having issues! Just a few questions so we can sort this out.

  1. Where are you pasting the code from? (If you wouldn't mind, please paste it here between 3 backticks and see how it looks).
  2. Are you closing the code with a backtick?

Also, just for reference, you should wrap things in 1 backtick for inline code (inline code)--code included in a sentence--and for large blocks use 3 backticks, like so:

function() {
  'use strict';
}());
ryanpcmcquen commented 8 years ago

Oh, and another thing ... WorkFlowy automatically formats multi-line pastes as a WorkFlowy list. You will want to use the 'Note' section for long code pastes.

Add Note WorkFlowy

Keyboard shortcut for adding notes is shift + enter. :+1:

terrisgit commented 8 years ago

I needed the 'note' feature. Thanks!

ryanpcmcquen commented 8 years ago

You are most welcome!