pygments / pygments/pygments.rb
No way to add custom styles
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 583
- Forks
- 142
- Avg merge
- 1h 27m
- Merged PRs (30d)
- 2
Description
There is no way to add a custom style, without forking the code and dropping it into the pygments styles directory. This seems…irritating.
I'm not sure the best way to go about this, but some way to point to a python script in the filesystem that contains a style would be welcome
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing how pygments.rb uses the Pygments styles directory and how styles are exposed to Ruby callers. The issue suggests accepting a Python script from the filesystem; done should let users add a custom style without forking or copying it into the bundled styles directory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, ruby
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100