You cannot do both, unless you want to merge the two syntaxes,
HTML and SMT, into one CLM. You can however write a script that
allows you to toggle between syntaxes. I do this to toggle
between HTML, JavaScript, and Lasso.
For an example of how to create a CLM for BBEdit using the Lasso
language, you can read my article. The link to the GitHub repo
includes the script to toggle between languages.
http://www.stevepiercy.com/articles/bbedit-lassoscript-codeless-language-module/
--steve
On 6/10/14 at 3:11 PM, kgarr...@gmail.com (Kevin Garrett) pronounced:
I run a Miva Merchant online store. It uses their "language"
(more of a macro language) called SMT (Store Morph Template). I
would love to have BBedit highlight Miva code properly -- or at
least differently from HTML. I looked into creating a Codeless
Language Template, but the point is, Miva's SMT is interspersed
in HTML like php. So I need correct HTML highlighting along
with SMT highlighting. As it is, the SMT code is highlighted as
General Markup (in the example below <mvt:if expr... is
currently blue).. Below is something like what I'm hoping to
get. I don't need syntax checking (although I wouldn't
complain). Any hope of getting to where I want to go?
*<mvt:if expr="l.settings:product:inv_level NE 'out'"> <!-- if
inventory not 0 -->*
* <span style="display: table-cell;">*
* <input type="submit" class="pure-button" value="Add to Cart">*
* </span>*
*<mvt:else>* <!-- inventory is out -->
------------------------
Steve Piercy, Soquel, CA
--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.