PrismJS / PrismJS/prism

AdBlock Pro Filter List Syntax

Open
#3,883 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
13k
Forks
1.4k
Avg merge
15h 36m
Merged PRs (30d)
3

Description

Motivation
The Adblock Plus filter list syntax is one of the main syntax's for writing web filter lists used by uBlock Origin, Adguard, Adblock Plus, and others. My current use case is noting down a a custom filter rule I apply on all my devices in my Obsidian.md wiki, which I believe uses this CSS library. It would be nice if the code block, would have syntax highlighting applied.

Description
Add support for Adblock Plus's filter list syntax.

Offical documentation.

Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the linked official Adblock Plus filter syntax documentation first, then inspect Prism's existing language definitions and their tests to find the appropriate entry points. Done means Adblock Plus filter-list examples receive syntax highlighting and the relevant Prism tests verify the new language support.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.