aboutsummaryrefslogtreecommitdiffstats
path: root/scratch/semgrep/test.org
diff options
context:
space:
mode:
Diffstat (limited to 'scratch/semgrep/test.org')
-rw-r--r--scratch/semgrep/test.org20
1 files changed, 20 insertions, 0 deletions
diff --git a/scratch/semgrep/test.org b/scratch/semgrep/test.org
new file mode 100644
index 0000000..aac16d0
--- /dev/null
+++ b/scratch/semgrep/test.org
@@ -0,0 +1,20 @@
+#+title: Test
+
+It has started all wars.
+
+No more data. It is a case of food suply. No more data. It is a case of food
+supply and nothing else for the.
+
+How an that
+
+#+begin_src emacs-lisp :results value raw
+(json-encode
+ (org-element-map
+ (org-element-parse-buffer)
+ 'paragraph
+ (lambda (hl)
+ (car
+ (org-element-contents hl)))))
+#+end_src
+
+#+RESULTS: