Can you work with the text below? 1. Paste it into the document as unformatted text (to ensure there are four characters before 2nd and 3rd lines). 2. Follow: https://wiki.documentfoundation.org/Documentation/DocumentationTeamInfo/ProducingLibreOfficeUserGuides#How_to_for_syntax_highlighting_code
def open_greeting(args=None): # Code lines with a maximum length of 80 characters will not wrap over line print("Hello World" + 1 * "!") The second line, exactly 80 characters long, is intended for testing and as a point of discussion about font size, line length, and line spacing. If more testing is required I'd suggest the Base Guide 7.3, Chapter 8 Macros, close_form, the second-last macro in the chapter. Some longer lines would need adding to test wrapping. Regards On Sat, Jun 18, 2022 at 5:18 PM Peter Schofield <psaut...@gmail.com> wrote: > Could you please send me a sample of code that I could use as an example > in the template. That way I shall be able to explain the Code paragraph > style better. ... > -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy