johno / ember-remarkable

Ember addon for Remarkable markdown parsing helpers and components.
MIT License
26 stars 20 forks source link

Block component? #18

Open lolmaus opened 8 years ago

lolmaus commented 8 years ago

I would like to type some code inline rather than pass it as a variable.

{{#md-text}}
  ## Code sample

  \```js
  console.log('yay'!);
  \```
{{/md-text}}
JawsomeJason commented 8 years ago

If I'm not mistaken, if {{#md-text}} is tabbed in by 2+ spaces, and the block content is 4+, won't the content be interpreted as code? That might look really awkward to have to tab out the code.