trying to fix
This commit is contained in:
parent
fa407dfeb6
commit
e013d7569e
22945 changed files with 447936 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
<!-- SC_OFF --><div class="md"><p>I have an Org document, with two source blocks containing YAML:</p> <pre><code>#+BEGIN_SRC yaml :tangle actual.yaml - foo: - spam - eggs #+END_SRC #+BEGIN_SRC yaml :tangle actual.yaml - bacon: - spam - spam - baked beans #+END_SRC </code></pre> <p>When I tangle, I want this output:</p> <pre><code>- foo: - spam - eggs - bacon: - spam - spam - baked beans </code></pre> <p>But what I get is this; the second block is dedented, which produces broken output:</p> <pre><code>- foo: - spam - eggs - bacon: - spam - spam - baked beans </code></pre> <p>Is there some way to get Org to preserve whitespace in source blocks?</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/ieure"> /u/ieure </a> <br/> <span><a href="https://www.reddit.com/r/orgmode/comments/rhhf5g/preserve_indent_when_tangling_yaml/">[link]</a></span>   <span><a href="https://www.reddit.com/r/orgmode/comments/rhhf5g/preserve_indent_when_tangling_yaml/">[comments]</a></span>
|
Loading…
Add table
Add a link
Reference in a new issue