From 20fb1a21587dc72d5e314119d6986fd3f2a45f13 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Mon, 31 Jul 2023 21:51:44 +0200 Subject: scratch sem grep --- scratch/semgrep/test.org | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 scratch/semgrep/test.org (limited to 'scratch/semgrep/test.org') 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: -- cgit v1.2.3