Ilya Shlyakhter ilya_...@alum.mit.edu writes:
Some questions about inline source code blocks:
- They're not fontified even when org-src-fontify-natively is true
-- correct?
Correct.
- They're not included in tangled code; is that intended behavior?
The manual does not seem to say
I think code blocks work well for non-inline code.
For a series of one-liners interspersed with comments, code block
boundaries triple the number of lines. E.g. the example in the manual
at http://orgmode.org/org.html#noweb_002dref
+BEGIN_SRC sh :tangle yes :noweb yes :shebang #!/bin/sh
On 3/6/14 5:04 PM, Eric Schulte wrote:
I think code blocks work well for non-inline code.
For a series of one-liners interspersed with comments, code block
boundaries triple the number of lines. E.g. the example in the manual
at http://orgmode.org/org.html#noweb_002dref
+BEGIN_SRC sh
I'm finding that Org would work well as a literate programming system
for C++, if the code block starts and ends didn't get in the way so much
during frequent switching between code and prose.
I use the following to make code block syntax less intrusive
Thanks, that was helpful, didn't
On 3/6/14 9:22 PM, Eric Schulte wrote:
How about the following alternative to my previous suggestion, which will
eliminate the extra lines.
Looks beautiful initially, but leads to some confusing behaviors due to
invisible lines. But eliminating extra lines is only important for some