Skip to content
Gavin Barnett edited this page May 24, 2022 · 1 revision

Welcome to the markdown-chess wiki!

Initial aim is to emulate the functionality of the Wikipedia chess module to convert plain text chess boards to svg images. see: https://en.wikipedia.org/wiki/Template:Chess_diagram

Example:

```chess
| <alignment> (param #1)
| <header>    (#2) 
| size =
| numbers =
| letters =
|rd|nd|bd|qd|kd|bd|__|rd
|pd|pd|__|__|pd|pd|pd|pd
|__|__|__|pd|__|nd|__|__
|__|__|__|__|__|__|__|__
|__|__|__|nl|pl|__|__|__
|__|__|nl|__|__|__|__|__
|pl|pl|pl|__|__|pl|pl|pl
|rl|__|bl|ql|kl|bl|__|rl
|Position after 1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3
| reverse =
```

Next steps would be:

  • Add FEN position as option to set-up board
  • Add better arrows and highlighting options
Clone this wiki locally