baml icon indicating copy to clipboard operation
baml copied to clipboard

Support for creating github flavored markdown with baml syntax

Open dexhorthy opened this issue 8 months ago • 4 comments

Related thread https://discord.com/channels/1119368998161752075/1357041526684913747

problem to solve

I can't use baml backtick when putting baml in markdown

```baml

Here's examples with rust and typescript respectively, neither is great

Image Image

proposed solution

Looks like this happens in the linguist project - here's a PR showing someone adding grammar/LSP details for something called LPC

https://github.com/github-linguist/linguist/pull/7179/files

There are some open issues with Pending Popularity label, idk what their threshold is.

dexhorthy avatar Apr 02 '25 17:04 dexhorthy

For later reference: I'm using this search to get a quick Popularity estimate with Boundary repos removed. Using class as a filter to remove files from a couple other projcts with .baml extensions. https://github.com/search?q=path%3A*.baml+NOT+owner%3ABoundaryML+class&type=code&ref=advsearch

imalsogreg avatar Apr 05 '25 16:04 imalsogreg

Here is a PR for the Linguist project, adding BAML as a recognized grammar: https://github.com/github-linguist/linguist/pull/7333

This ticket is on hold, since we'll have to wait for the maintainer of Linguist to respond, eventually merge, and then cut a new github.com site release. These releases happen approximately once per quarter.

imalsogreg avatar Apr 11 '25 21:04 imalsogreg

Whooooo On Fri, Apr 11, 2025 at 2:53 PM Greg Hale @.***> wrote:

Here is a PR for the Linguist project, adding BAML as a recognized grammar: github-linguist/linguist#7333 https://github.com/github-linguist/linguist/pull/7333

— Reply to this email directly, view it on GitHub https://github.com/BoundaryML/baml/issues/1708#issuecomment-2798073866, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4OZLJ5S3NKTIZMRHSO2OL2ZA2XBAVCNFSM6AAAAAB2KGTWCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOJYGA3TGOBWGY . You are receiving this because you authored the thread.Message ID: @.***> imalsogreg left a comment (BoundaryML/baml#1708) https://github.com/BoundaryML/baml/issues/1708#issuecomment-2798073866

Here is a PR for the Linguist project, adding BAML as a recognized grammar: github-linguist/linguist#7333 https://github.com/github-linguist/linguist/pull/7333

— Reply to this email directly, view it on GitHub https://github.com/BoundaryML/baml/issues/1708#issuecomment-2798073866, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4OZLJ5S3NKTIZMRHSO2OL2ZA2XBAVCNFSM6AAAAAB2KGTWCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOJYGA3TGOBWGY . You are receiving this because you authored the thread.Message ID: @.***>

dexhorthy avatar Apr 11 '25 22:04 dexhorthy

@imalsogreg Came to changes were requested on the linguist PR before they accept FYI

https://github.com/github-linguist/linguist/pull/7333

George-RD avatar Jul 11 '25 14:07 George-RD