Skip to content

Instantly share code, notes, and snippets.

@wallyqs
Created September 28, 2013 16:21
Show Gist options
  • Save wallyqs/6743698 to your computer and use it in GitHub Desktop.
Save wallyqs/6743698 to your computer and use it in GitHub Desktop.
* DONE When including another file lines
Should say "Note it will end with nothing other than a list item"
#+INCLUDE: "./spec/html_examples/only-list.org" :lines "2-3"
* DONE When including another file lines with bad options
In this case it will include up to the second line.
#+INCLUDE: "./spec/html_examples/only-list.org" :lines ";;;;;;;;;;;:-2"
In this case it will include the 3 lines:
#+INCLUDE: "./spec/html_examples/only-list.org" :lines "asdfasdfasdfasdf"
* DONE When including another file lines as a src block
This should be a src block:
#+INCLUDE: "./spec/html_examples/only-list.org" src emacs-lisp
* DONE When including another file lines as an example
This should be an example
#+INCLUDE: "./spec/html_examples/only-list.org" example ""
This should be a quote
#+INCLUDE: "./spec/html_examples/only-list.org" quote ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment