Love the idea though I bet it would take a good amount of work to see this done
it would be great if BBEdit could recognize a shebang or, dare i say, Emacs mode line comment to change syntax highlighting On Thursday, September 5, 2024 at 2:28:08 PM UTC-4 Craig Maynard wrote: > I have many files that contain several sections with source code in > different languages. > > For example: > > - Markdown files (.md) that also contain YAML frontmatter. > - Bash scripts (.sh) that also contain SQLite CLI commands. > > I feel sure that BBEdit is capable of highlighting the code in each > section appropriately. However, we rely on file extensions to indicate the > type/structure of the file contents. That means BBEdit would need to use a > pragma or something similar in the file contents to indicate a language > change. That feels kludgy. > > Comments welcome. > > -- This is the BBEdit Talk public discussion group. If you have a feature request or believe that the application isn't working correctly, please email "[email protected]" rather than posting here. Follow @bbedit on Mastodon: <https://mastodon.social/@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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/04f0e4af-fcf7-4554-8f88-ee52664b7778n%40googlegroups.com.
