sponsor Vim development Vim logo Vim Book Ad

BBCode : Syntax highlighting for BBCode

 script karma  Rating 55/26, Downloaded by 2053  Comments, bugs, improvements  Vim wiki

created by
Georg Dahn
 
script type
syntax
 
description
This script adds syntax highlighting for BBCode, which is an abbreviation for Bulletin Board Code, the markup language used to format posts in many message boards. At the moment it highlights all tags and links defined by the URL-tag, but also the text between B-tags, I-tags, and U-tags (nesting is allowed), too.

TODO: I intended to highlight the text between QUOTE-Tags, too, but found no solution yet which worked for nested quotes.
 
install details
Just put it in "~/.vim/syntax" or in "<your vim directory>\vimfiles\syntax" on Windows. If you do ":set filetype=bbcode", the syntax definition will be loaded automativcally.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
bbcode.vim 0.9.2 2008-01-01 6.0 Georg Dahn Minor update: the enclosing quotes of a string may also be a '
ip used for rating: 142.132.191.50

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github