Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6113371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:51:04+00:00 2026-05-23T14:51:04+00:00

I am writing a manual using Word / LibreOffice’s Writer . As part of

  • 0

I am writing a manual using Word / LibreOffice's Writer.

As part of the manual, I’d like to include python code snippets.
Naturally, I want these to be included in a nice way.

How can I paste python code into Word / LibreOffice's Writer while keeping its nice format?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:51:04+00:00Added an answer on May 23, 2026 at 2:51 pm

    Libre Office should be able to import HTML code. You can use any Highlighter that can output HTML highlighted code. You may try an online highlighter like http://www.tohtml.com/python/ for example.

    Edit:
    Somehow Libre Office is missing HTML code in the Paste Special menu, but here is some trick to get html into the document:

    1. save your html code to a html file
    2. open the html file with libre office (select web page as format)
    3. select everything and hit copy
    4. paste into the document you want it to be in

    This is cumbersome, but I didn’t find another way, though I can remember, that there was a HTML option in the Paste Special menu in Open Office. May be there is some plugin or similar stuff to do it easier.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Writing a python program, and I came up with this error while using the
I've put off using generated code as part of the build process for fear
I'm writing a Haskell to Javascript code generator, using GHC as a library. Since
I'm writing a console app in c++ using ncurses and I'd like to output
I would like to create visualizations using Protovis, but writing in CoffeeScript rather than
Writing Classic ASP code in JScript has a lot going for it: more humane
Writing a test app to emulate PIO lines, I have a very simple Python/Tk
Writing documentation in html requires some code examples. What to do with characters that
Writing an asynchronous Ping using Raw Sockets in F#, to enable parallel requests using
When writing code, I often place debug messages in the code. The debug messages

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.