diff --git a/md4tj_parse.el b/md4tj_parse.el index 0d6b1dc..84f6e9f 100644 --- a/md4tj_parse.el +++ b/md4tj_parse.el @@ -1,4 +1,4 @@ -;;; md4tj_parse --- Summary +f;;; md4tj_parse --- Summary ;;; Commentary: @@ -32,6 +32,18 @@ "Process LINE that is paragraph, return HTML." (concat (md4tj-begin-tag "p") line (md4tj-end-tag "p"))) +(defun md4tj-process-line (line) + "Process all inline elements of the LINE, return HTML." + (replace-regexp-in-string + "\\*\\(.*\\)\\*" + "\\1" + (replace-regexp-in-string + "\\*\\*\\(.*\\)\\*\\*" + "\\1" + (replace-regexp-in-string + "`\\(.*\\)`" + "\\1" line)))) + ;; Note: a "block" is the smallest unit of parsing ;; It is normally a line of the code, but can be ;; multiple lines in the case of a block (NI)