Переглянути джерело

Add test for cells selection

Benjamin ABEL 10 роки тому
батько
коміт
29dcdc3b19

+ 5 - 1
liquid_tags/test_data/content/test-ipython-notebook-nbformat3.md

@@ -8,6 +8,10 @@ tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
 vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
 vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
 no sea takimata sanctus est Lorem ipsum dolor sit amet.
 no sea takimata sanctus est Lorem ipsum dolor sit amet.
 
 
-#Loading a notebook nbformat = 3.0
+#Loading an entire notebook nbformat = 3.0
 
 
 {% notebook test_nbformat3.ipynb %}
 {% notebook test_nbformat3.ipynb %}
+
+#Loading selected cells from a notebook nbformat = 3.0
+
+{% notebook test_nbformat3.ipynb cells[1:5] %}

+ 5 - 1
liquid_tags/test_data/content/test-ipython-notebook-nbformat4.md

@@ -8,6 +8,10 @@ tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
 vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
 vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
 no sea takimata sanctus est Lorem ipsum dolor sit amet.
 no sea takimata sanctus est Lorem ipsum dolor sit amet.
 
 
-#Loading a notebook nbformat = 4.0
+#Loading an entire notebook nbformat = 4.0
 
 
 {% notebook test_nbformat4.ipynb %}
 {% notebook test_nbformat4.ipynb %}
+
+#Loading selected cells from a notebook nbformat = 4.0
+
+{% notebook test_nbformat4.ipynb cells[1:5] %}