Function: org-texinfo-center-block

org-texinfo-center-block is a byte-compiled function defined in ox-texinfo.el.gz.

Signature

(org-texinfo-center-block CENTER-BLOCK CONTENTS INFO)

Documentation

Transcode a CENTER-BLOCK element from Org to Texinfo.

CONTENTS holds the contents of the block. INFO is a plist used as a communication channel.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-texinfo.el.gz
;;;; Center Block

(defun org-texinfo-center-block (_center-block contents _info)
  "Transcode a CENTER-BLOCK element from Org to Texinfo.
CONTENTS holds the contents of the block.  INFO is a plist used
as a communication channel."
  (replace-regexp-in-string "\\(^\\).*?\\S-" "@center " contents nil nil 1))