Function: org-element-code-parser

org-element-code-parser is a byte-compiled function defined in org-element.el.gz.

Signature

(org-element-code-parser)

Documentation

Parse code object at point, if any.

When at a code object, return a list whose car is code and cdr is a plist with :value, :begin, :end and :post-blank keywords. Otherwise, return nil.

Assume point is at the first tilde marker.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-element.el.gz
;;;; Code

(defun org-element-code-parser ()
  "Parse code object at point, if any.

When at a code object, return a list whose car is `code' and cdr
is a plist with `:value', `:begin', `:end' and `:post-blank'
keywords.  Otherwise, return nil.

Assume point is at the first tilde marker."
  (org-element--parse-generic-emphasis "~" 'code))