Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# pi1minted
Pygments style for code formatting
# piOneminted
Pygments style for code formatting; same as pi1minted, to troubleshoot TeX error.
3 changes: 2 additions & 1 deletion pi1_style.py → pi_one_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
)


class Pi1Style(Style):
class PiOneStyle(Style):
"""
A colorful style, inspired by the terminal highlighting style.
Same as Pi1Style, only no numerical character in style name.
"""

background_color = "#ffffff"
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[project]
name = "pi1minted" # change this to a package name for your plugin
name = "pi_one_minted" # change this to a package name for your plugin
version = "0.0.1"
dependencies = ["pygments"]
readme = "README.md"

[project.entry-points."pygments.styles"]
pi1style = "pi1_style:Pi1Style"
pi-one-style = "pi_one_style:PiOneStyle"