BBEdit is scriptable, which means you can add features to suit yourself.
This very basic AppleScript will wrap the selected text in whatever text you provide in the dialog.
It can be tremendously customized.
-------------------------------------------------------------------------------------------
# Auth: Christopher Stone
# dCre: 2016/08/06 17:00
# dMod: 2016/08/06 17:10
# Appl: BBEdit
# Task: Wrap Selected Text in the User-Provided Text.
# Libs: None
# Osax: None
# Tags: @Applescript, @Script, @BBEdit, @Wrap, @Selection
-------------------------------------------------------------------------------------------
try
tell application "BBEdit"
tell text of front text document
set selectedText to contents of selection
end tell
end tell
set wrapperText to text returned of (display dialog "Enter Wrapper Text" with title "Edit Selection" default answer "")
tell application "BBEdit"
tell text of front text document
set text of selection to wrapperText & selectedText & wrapperText
end tell
end tell
on error e number n
set e to e & return & return & "Num: " & n
if n ≠ -128 then
try
tell application (path to frontmost application as text) to set ddButton to button returned of ¬
(display dialog e with title "ERROR!" buttons {"Copy Error Message", "Cancel", "OK"} ¬
default button "OK" giving up after 30)
if ddButton = "Copy Error Message" then set the clipboard to e
end try
end if
end try
-------------------------------------------------------------------------------------------