P.I. Engineering User Forum

Product Support, Technical Questions and Answers, and Examples for P.I. Engineering Products

You are not logged in.

#1 2018-01-05 10:24:48

Registered: 2016-08-31
Posts: 6

Insert Markdown syntax around selected text

I am hoping to create some shortcut buttons on my X-Keys 80 to insert some Markdown syntax text around selected text when I hit a button.

For example if I select/highlight some text and hit a button to make that text bold in Markdown it would take the selected text and add ** before and after the selected text:

bold text
**bold text**

Is there anyway to do such a task?


#2 2018-01-08 10:20:35

PIE Liam
Technical Support Specialist
From: Williamston, MI
Registered: 2016-01-21
Posts: 182

Re: Insert Markdown syntax around selected text

I programmed the shortcut CTRL+B and saw the same action in Markdown. I'd highlight the word and press the button, the word became bold on one side and had **WORD** on the other side.


Board footer

Powered by FluxBB