Closed pirog closed 8 years ago
@reynoldsalec
So there might be a place in the markdown spec to add more elements but by default markdown will be ignored inside blocks ie <div></div> http://stackoverflow.com/questions/701042/disable-markdown-for-a-block
<div></div>
So we can actually do something like this for our code blocks to ignore the MD
<div><pre><code class="language-bash"> # If using Kalabox CLI kbox create pantheon -- -v \ --site=big-brand-here \ --env=dev \ --nodb \ --nofiles \ --name=big-brand-here \ --dir=/Users/yournamehere/.kalabox/apps # Or to place the App in your Mac OS Sierra 'Documents' Cloud Storage kbox create pantheon -- -v \ --site=big-brand-here \ --env=dev \ --nodb \ --nofiles \ --name=big-brand-here \ --dir=/Users/yournamehere/Documents/Sites </pre></code></div>
So you actually still have to escape a few things here eg *.js will end up as <em>.js so you need to do \*.js.
*.js
<em>.js
\*.js
@reynoldsalec im going to close this out. there isnt a good reason to explore doing this without the wrapping <div></div> tags beyond curiosity and we've got bigger fish to fry.
@reynoldsalec
So there might be a place in the markdown spec to add more elements but by default markdown will be ignored inside blocks ie
<div></div>
http://stackoverflow.com/questions/701042/disable-markdown-for-a-blockSo we can actually do something like this for our code blocks to ignore the MD
So you actually still have to escape a few things here eg
*.js
will end up as<em>.js
so you need to do\*.js
.