Currently the extension has limited resources available, because they already increase the extension's size significantly. Multiple board themes and piece sets are supported. When you open a pgn file, simply click the preview icon in order to view the PGN games. This extension also implements a viewer to PGN files. Sequence of moves to view in the position These properties are only available for chess blocks. ![]() when using in a pgn block, the properties must come before the pgn itself. These properties are available both for chess and pgn blocks. Supported properties for chess and pgn blocks ![]() You can set various properties inside the code block, each one in a separate line in the format name: value. Kd2 Bb4# 0-1Īlternatively, you can supply a starting position and a move sequence: ```chessįen: r1bqkbnr/1ppp1ppp/p1n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R w KQkq - 0 4 You can view full chess games by using the pgn code block and copying a game in pgn format: ```pgnġ. You can supply an initial FEN, and arrows/squares to mark on the board: ```chessįen: r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R w KQkq - 0 1 On an empty board you can move pieces and draw arrows/squares and copy it back to the chess code block, as shown in the demo GIF. Create an empty chess board by writing a chess code block: ```chess
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |