Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New language: BBCode #7134

Open
RokeJulianLockhart opened this issue Nov 21, 2024 · 0 comments
Open

New language: BBCode #7134

RokeJulianLockhart opened this issue Nov 21, 2024 · 0 comments
Labels
Add Language Good First Issue This is a great opportunity to start contributing to Linguist

Comments

@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Nov 21, 2024

This replaces @Janmm14's github.com/github-linguist/linguist/issues/3516:

Please see the guidelines to add support for a new language to Linguist. If bbcode meets the requirement on in-the-wild usage, don't hesitate to open a pull request.

Language name

BBCode

URL of example repository

gist.github.com/betaveros/48588f5443ea664e3912/6d2a86a3d426a2f94b8b1d2671fa572fc3119e2c

It's utilized extensively across phpBB and vBulletin forums, so its primary use case is in code snippets.

URL of syntax highlighting grammar

KDE's Kate IDE

github.com/Ernir/Kate-bbcode/blob/c325f2ea03d59c10257ba61c9aea6b6386c4b5c9/bbcode.xml

highlightjs

github.com/highlightjs/highlightjs-bbcode/blob/e4b537ab2fb0594061200dcf60df506cec3edbb7/bbcode.js#L1-L38

vim.org/scripts/script.php?script_id=2109 exists too, for Vim.

Most popular extensions

bbcode would the tag used, since it doesn't use any file extensions.

Detected language

Currently, text/plain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Add Language Good First Issue This is a great opportunity to start contributing to Linguist
Projects
None yet
Development

No branches or pull requests

1 participant