ChessMate Plugin is a plugin for Obsidian that enables displaying chess games and positions in PGN and FEN formats directly within your notes. The plugin uses the lichess-pgn-viewer
library to render boards and pieces.
-
Display Chess Games: Use code blocks with the
chessmate
type to visualize chess games in PGN format. -
Customizable Display: Supports configuration for board themes, piece styles, and board size.
-
Chess Notation Support: Replay and study games with textual annotations and comments.
- Download the
manifest.json
,main.js
, andstyles.css
files from the latest release in the repository. - Place them in the
.obsidian/plugins/chessmate-plugin/
folder of your vault. - Reload Obsidian and activate the plugin in Settings > Community Plugins.
Insert the following example into your note:
```chessmate
[Event "Example Game"]
[Site "Obsidian"]
[Date "2024.12.01"]
[Round "?"]
[White "Player1"]
[Black "Player2"]
1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O-O Be7 6. Re1 b5