Hi,
As an enthusiast chess player, I like to manage my games and my opening repertoire as a set of PGN files stored in a Git repository (PGN is a text file format for recording chess games). So I wanted a way to pretty-print PGN files using a CLI and integrating in my editor.
Today, it looks like most people use GUI-based software. So I decided to create a Prettier plugin that formats PGN files. Prettier is a well-known pretty-printer in the Node.js ecosystem, used to ensure consistent source code formatting in software projects. One upside of implementing this PGN formatter as a Prettier plugin is that it benefits from its editor integration.
The plugin is currently near complete, even if the project is still at an early stage. It's usable, even if there might be some bugs.
Hope you find this useful. Comments and ideas are welcome. Have a nice weekend.
Comments URL: https://news.ycombinator.com/item?id=42594896
Points: 14
# Comments: 1
Autentifică-te pentru a adăuga comentarii
Alte posturi din acest grup
Hi HN! Michael here. We've spent the last 6 months rebuilding Phind. We asked ourselves what types of answers we would ideally like and crafted a new UI and model series to help get us there. Our
!['It's a money game to them':son takes on UnitedHealth over elderly father's care](https://www.cdn5.niftycent.com/a/e/7/v/L/N/A/it-s-a-money-game-to-them-son-takes-on-unitedhealth-over-elderly-father-s-care.webp)
Article URL: https://blog.kagi.com/kagi-privacy-pass
Comments URL: https://news