Variable: org-html-wrap-src-lines

org-html-wrap-src-lines is a customizable variable defined in ox-html.el.gz.

Value

nil

Documentation

If non-nil, wrap individual lines of source blocks in "code" elements.

In this case, add line number in attribute "data-ox-html-linenr" when line numbers are enabled.

This variable was added, or its default value changed, in Org version
9.3.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
(defcustom org-html-wrap-src-lines nil
  "If non-nil, wrap individual lines of source blocks in \"code\" elements.
In this case, add line number in attribute \"data-ox-html-linenr\" when line
numbers are enabled."
  :group 'org-export-html
  :package-version '(Org . "9.3")
  :type 'boolean
  :safe #'booleanp)