org-rw/tests/04-code.org
Sergio Martínez Portela 8832cd0b3d Fix extraction of block element contents.
Don't confound normal characters with formatting markers. Handle escaping of
    otherwise headline starters with a comma.
2022-11-17 00:20:20 +01:00

937 B

04-Code

First Item

echo "This is a test"
echo "with two lines"
exit 0 # Exit successfully
This is a test
with two lines

Second item

echo "This is another test"
echo "with two lines too"
exit 0 # Comment

This is another test with two lines too

Escaped code

/* This code has to be escaped to
,* avoid confusion with new headlines.
,*/
main(){}