Skip to content

Commit

Permalink
Support bbcode filetype
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Aug 30, 2024
1 parent f0a3184 commit 2bd90b6
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions UltiSnips/bbcode.snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
#https://bbs.archlinux.org/help.php#bbcode

priority -50

snippet b "bold"
[b]$0[/b]
endsnippet
snippet u "underlined"
[u]$0[/u]
endsnippet
snippet i "italic"
[i]$0[/i]
endsnippet
snippet s "strike through"
[s]$0[/s]
endsnippet
snippet del "deleted"
[del]$0[/del]
endsnippet
snippet ins "inserted"
[ins]$0[/ins]
endsnippet
snippet em "emphasised"
[em]$0[/em]
endsnippet
snippet color "color"
[color=$1]$0[/color]
endsnippet
snippet h "heading"
[h]$0[/h]
endsnippet
snippet url "url"
[url=$1]$0[/url]
endsnippet
snippet email "email"
[email=$1]$0[/email]
endsnippet
snippet topic "topic with id"
[topic=$1]$0[/topic]
endsnippet
snippet post "post with id"
[post=$1]$0[/post]
endsnippet
snippet forum "forum with id"
[forum=$1]$0[/forum]
endsnippet
snippet user "user with id"
[user=$1]$0[/user]
endsnippet
snippet img "image"
[img=$1]$0[/img]
endsnippet
snippet quote "quote"
[quote=$1]$0[/quote]
endsnippet
snippet code "code"
[code]$0[/code]
endsnippet
snippet list "list"
[list=$1]$0[/list]
endsnippet
snippet * "*"
[*]$0[/*]
endsnippet

0 comments on commit 2bd90b6

Please sign in to comment.