Menu

Custom tags

2007-06-07
2012-11-13
  • Nobody/Anonymous

    Hey everybody, i can i add custom tags with notepad++. I post to forums a lot and they have little text box so I'd like to add tags like [code][/code] [b][/b] an so on. Is there a plugin for this kind of thing?

    thanks.

     
    • MJG

      MJG - 2007-06-07

      I assume you are copying and pasting from Notepad++ to your browser.

      You can use the QuickText plugin to do some of this, I think.  You will have to build your own custom settings, but it is pretty cool to just press ctrl-Enter to convert your trigger word to the block you want.  For example, type "code", press ctrl-Enter, and Notepad++ can output "[code][/code]" and put your cursor right in the middle.  Just set up "code" as the tag (trigger word) and use "[code]$[/code]" as the replacement text.

      You might also be able to create macros to work with existing text.  For example, one approach might be to mark and cut a block, type "code" as above and press ctrl-Enter to output "[code][/code]", then paste the text you cut.  --Joel

       
MongoDB Logo MongoDB