generate markdown/html/bbcode links

Post your working scripts, libraries and tools for AHK v1.1 and older
User avatar
davebrny
Posts: 85
Joined: 05 Dec 2016, 06:26

generate markdown/html/bbcode links

07 Feb 2017, 07:49

use one of the following hotkeys to generate the tags for markdown, html or bbcode links.

ctrl+alt+[ (markdown)
ctrl+alt+, (html)
ctrl+alt+/ (bbcode)

[text](link)
<a href="link">text</a>
text

if a word is selected then "text" will be replaced with that word.
if there is a url in the clipboard then "link" will be replaced with the url.

if "text" or "link" is still there after it will highlight one of them so you can begin typing (unless the "text" or "link" appears twice, then it doesnt highlight anything, because it wasnt work the effort trying to figure that one out)

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: william_ahk and 159 guests