Module:Pretty-pre: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

4 August 2023

  • curprev 03:1003:10, 4 August 2023Admin coral island talk contribs 552 bytes +552 Created page with "-- <nowiki> -------------------------------------------------------------------------------- -- Automatically adds a space before each line. Like the <pre> tag, but allows -- markup (e.g. bold or italics), transclusions, etc. -------------------------------------------------------------------------------- local p = {} function p._main(s) return ' ' .. s:gsub('\n$', ''):gsub('\n', '\n ') end function p.main(frame) return p._main(frame:getParent().args[1] or fram..."