From ad94c2f06602653ec00eb8f41f58b8e79756a191 Mon Sep 17 00:00:00 2001 From: j4nk Date: Thu, 29 Dec 2022 11:33:30 -0500 Subject: [PATCH] Updated comments to eliminate idea of "block" --- md4tj_parse.el | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/md4tj_parse.el b/md4tj_parse.el index 55edee3..ff10ab8 100644 --- a/md4tj_parse.el +++ b/md4tj_parse.el @@ -70,13 +70,9 @@ "<" "<" (string-replace ">" ">" 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) -(defun md4tj-process-block (codeblock state) - "Process CODEBLOCK with STATE and return html." - (let ((cleanline (md4tj-clean-multiline codeblock))) +(defun md4tj-convert-line-to-html (line state) + "Process LINE with STATE and return html." + (let ((cleanline (md4tj-clean-multiline line))) (concat ;; Beginning of multiline block (cond ((eq state 'beginul) "