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

  • SEARCH
  • Home
  • 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 624193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:10:27+00:00 2026-05-13T19:10:27+00:00

Im in the situation that I often send small codesnippets and xml-snippets to coworkers

  • 0

Im in the situation that I often send small codesnippets and xml-snippets to coworkers and partners via my outlook.
Has anyone got a good idea or tool that I can use to have my pastes syntaxhighlighted before I paste them into an email.

I was thinking of an intermediate paste to “$fancytool” and then I would have something to copy that will htmlified so I can copy paste it into the “compose email” window.

Edit-More-info:

Im pasting from windows within a VMWare virtual Machine, it might be eclipse, xmlspy, logfiles and other programs

Even-more-info:

I’ve seen this link how to do it from Vim. Unfortunately it seldom from vim im copying Code, and my email machine hasnt got any vim. The vmware machines has gvim, but I was hoping for an easier way that pasting to vim, saving to file, opening in internetexplorer and then copy/paste

  • 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-13T19:10:27+00:00Added an answer on May 13, 2026 at 7:10 pm

    Late but I can give an answer that works.
    You need 2 things

    1. putty
    2. access to some Unix server (With vim)

    In putty options, Under window → selection , turn the check box on for

    Paste in to clipboard in RTF as well as plain text.

    Log on to the server using putty.
    start vim by typing vim
    Paste your text (for example XML ) in to vim.
    enter command mode (of vim by pressing ESC) and type
    :set syn=xml.

    Syntax highlighting kicks in.
    Copy the text using mouse and paste it into your email.

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

Sidebar

Related Questions

This is a situation that comes up often: In the View, you have a
I find myself very often in the situation that I open an element in
This situation happens a little often, your whole repository has 2MB and then someone
Here's a situation that comes up quite often that never sits too easy with
Sorry for the long title. Here is a sample situation that I encounter often
I find myself in a situation that someone else must have got stuck in
I am computational scientist that work with large amount of simulation data and often
I have a situation that I solved in the following way: //cube_potentials is float8
I have an interesting situation that EMF forced me into: abstract class AbstractDog{ ...
I have a situation that requires redirecting users who are already logged in away

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.