Variable: markdown-ts-hard-line-break-space

markdown-ts-hard-line-break-space is a customizable variable defined in markdown-ts-mode.el.gz.

Value

#[257 "\301!\302!\203
�\211\202�\303\304\"\207"
      [markdown-ts-hard-line-break-backslash
       markdown-ts--resolve-display-value characterp 124 make-string]
      6
      ("/nix/store/g9awsiwsy0cqwj6a6hb6x6423d8fdbf1-emacs-snapshot/share/emacs/32.0.50/lisp/textmodes/markdown-ts-mode.elc"
       . 3213)]

Documentation

If markup is hidden, display this for a trailing-spaces hard line break.

The value can be:
- a character or string: shown once at the start of the trailing spaces,
  with no repetition (the remaining spaces stay invisible);
- a function: called with one argument, the number of trailing spaces,
  and must return the string to display in place of the run;
- nil: keep the raw markup.

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

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode.el.gz
(defcustom markdown-ts-hard-line-break-space
  (lambda (n)
    (let* ((val (markdown-ts--resolve-display-value
                 markdown-ts-hard-line-break-backslash))
           (ch (if (characterp val) val ?|)))
      (make-string n ch)))
  "If markup is hidden, display this for a trailing-spaces hard line break.
The value can be:
- a character or string: shown once at the start of the trailing spaces,
  with no repetition (the remaining spaces stay invisible);
- a function: called with one argument, the number of trailing spaces,
  and must return the string to display in place of the run;
- nil: keep the raw markup."
  :type '(choice (character :tag "Display specified character (no repetition)")
                 (string :tag "Display specified string (no repetition)")
                 (function :tag "Function from count to display string")
                 (const :tag "Display original markup" nil)
                 (const :tag "Hide markup" hide))
  :version "31.1"
  :package-version "1.0")