Hi folks,

I'm working on a polyglot literate programming tool (available here:
http://github.com/dethe/obloq) which embeds html, css, javascript, and
other languages into Markdown files. The files remain correct Markdown
and get highlighted as such, but I would like to extend proper syntax
highlighting (and other support, such as validation) to the embedded
code. The problem is similar to recognizing Javascript inside HTML
<script> blocks and CSS inside <style> blocks.

Is this possible as a Codeless language module or does it require an
XCode-generated language module? And how accessible are existing
language for re-use?

The essence of what I'm doing is that if Markdown code blocks
(indented by 4 spaces or more) start with "file: [somefilename].
[someext]" followed by a blank line then the extension is used to
determine the type of code in the rest of the code block. This is
working very well for me to keep related HTML, CSS, and Javascript
together for web components, and for creating the documentation for
those components, but I miss the syntax support.

Thanks in advance,

--Dethe

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to