aboutsummaryrefslogtreecommitdiffstats
path: root/scratch/semgrep/test.org
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-07-31 21:51:44 +0200
committerOscar Najera <hi@oscarnajera.com>2024-01-13 02:27:42 +0100
commit20fb1a21587dc72d5e314119d6986fd3f2a45f13 (patch)
tree085993f4209c373733412dc334296558c9794e9a /scratch/semgrep/test.org
parent88fead2e2b6082e88d58a1af7c0afa1765a25253 (diff)
downloaddotfiles-20fb1a21587dc72d5e314119d6986fd3f2a45f13.tar.gz
dotfiles-20fb1a21587dc72d5e314119d6986fd3f2a45f13.tar.bz2
dotfiles-20fb1a21587dc72d5e314119d6986fd3f2a45f13.zip
scratch sem grep
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: