{"id":440300,"date":"2024-11-29T15:03:53","date_gmt":"2024-11-29T15:03:53","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=440300"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=440300","title":{"rendered":"<span>\u041f\u0438\u0448\u0435\u043c \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u0434\u043b\u044f Obsidian. \u0427\u0430\u0441\u0442\u044c 2<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u0434\u043b\u044f Obsidian. \u041f\u0435\u0440\u0432\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0439\u0442\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/861230\/\" rel=\"noopener noreferrer nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>. \u0412 \u043d\u0435\u0439 \u043c\u044b:<\/p>\n<ul>\n<li>\n<p>\u0412\u044b\u044f\u0441\u043d\u0438\u043b\u0438, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u0434\u0430\u0436\u0435 \u043f\u0440\u043e\u0449\u0435, \u0447\u0435\u043c \u044d\u0442\u043e \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/p>\n<\/li>\n<li>\n<p>\u041d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u0442\u0440\u0438 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445 \u043f\u043b\u0430\u0433\u0438\u043d\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0436\u0435 \u0432\u043e\u0432\u0441\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f <s>\u043d\u0430 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0435<\/s> \u043b\u0438\u0447\u043d\u043e \u043c\u043d\u043e\u0439<\/p>\n<\/li>\n<li>\n<p>\u0413\u0440\u043e\u0437\u0438\u043b\u0438\u0441\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u044b\u0439 \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0431\u043e\u0441\u0441-\u043f\u043b\u0430\u0433\u0438\u043d<\/p>\n<\/li>\n<\/ul>\n<p>\u0412\u043e\u0442 \u0438 \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c.<\/p>\n<h2>\u041f\u043b\u0430\u0433\u0438\u043d 4. Chess Viewer. \u0418\u0434\u0435\u044f<\/h2>\n<p>\u042f \u043d\u0435 \u0448\u0430\u0445\u043c\u0430\u0442\u0438\u0441\u0442, \u043d\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0441\u044c \ud83d\ude42 \u0423 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u0441 \u0448\u0430\u0445\u043c\u0430\u0442\u043d\u044b\u043c\u0438 \u0437\u0430\u0440\u0438\u0441\u043e\u0432\u043a\u0430\u043c\u0438. \u0418 \u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e \u043d\u0435 \u043e\u0434\u0438\u043d \u0442\u0430\u043a\u043e\u0439, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432 Community plugins \u0435\u0441\u0442\u044c \u0442\u0440\u0438 \u043f\u043b\u0430\u0433\u0438\u043d\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0445 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u0432 \u0437\u0430\u043c\u0435\u0442\u043a\u0435 \u0448\u0430\u0445\u043c\u0430\u0442\u043d\u0443\u044e \u0434\u043e\u0441\u043a\u0443 \u0441 \u0444\u0438\u0433\u0443\u0440\u0430\u043c\u0438.<\/p>\n<p>\u042f \u0432 \u0441\u0432\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f Obsidian Chess, \u043d\u043e \u043e\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0444\u0438\u0433\u0443\u0440 \u043d\u0430 \u0434\u043e\u0441\u043a\u0435, \u0438 \u043e\u043d\u0438 \u043f\u043e \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0434\u043e\u043b\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0443\u0436\u0430\u043b\u0438\u0441\u044c \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435. \u041f\u043e\u0442\u043e\u043c \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0444\u0438\u0433\u0443\u0440 \u0438 \u0432\u043e\u0432\u0441\u0435 \u0438\u0441\u0447\u0435\u0437\u043b\u0438:<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/oe\/co\/zj\/oecozjunect7vh_ofd0yy6iwb5q.png\" data-src=\"https:\/\/habrastorage.org\/webt\/oe\/co\/zj\/oecozjunect7vh_ofd0yy6iwb5q.png\"\/><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u043d\u0430\u0445\u043e\u0436\u0443 \u044d\u0442\u043e\u0442 \u043f\u043b\u0430\u0433\u0438\u043d \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438.<\/p>\n<p>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0435\u0449\u0435 \u043f\u0430\u0440\u0430 \u0440\u0435\u0448\u0435\u043d\u0438\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"https:\/\/github.com\/SilentVoid13\/Chesser\" rel=\"noopener noreferrer nofollow\">Chesser<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/github.com\/chrislicodes\/obsidian-chess-study\" rel=\"noopener noreferrer nofollow\">Chess Study<\/a>, \u043d\u043e \u043e\u043d\u0438 \u0443\u0436\u0435 \u0441\u043a\u043e\u0440\u0435\u0435 \u043f\u043e\u0445\u043e\u0436\u0438 \u043d\u0430 \u043a\u043e\u043c\u0431\u0430\u0439\u043d\u044b \u2014 \u0442\u0430\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0432\u0438\u0433\u0430\u0442\u044c \u0444\u0438\u0433\u0443\u0440\u044b, \u0431\u0440\u0435\u0439\u043d\u0448\u0442\u043e\u0440\u043c\u0438\u0442\u044c, \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0441\u0442\u0440\u0435\u043b\u043a\u0438 \u0438 \u043f\u0440\u043e\u0447\u0435\u0435. \u0412 \u043e\u0431\u0449\u0435\u043c \u0441\u043b\u043e\u0436\u043d\u043e \u2014 \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0447\u0442\u043e-\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0435, \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0435 \u0438 \u043d\u0435 \u0442\u043e\u0440\u043c\u043e\u0437\u044f\u0449\u0435\u0435.<\/p>\n<p>\u0411\u043b\u0438\u0437\u043a\u0438\u043c \u043f\u043e \u0434\u0443\u0445\u0443 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043b\u0430\u0433\u0438\u043d <a href=\"https:\/\/github.com\/THeK3nger\/obsidian-chessboard\" rel=\"noopener noreferrer nofollow\">Chessboard Viewer<\/a>: view-only, \u0444\u0438\u0433\u0443\u0440\u044b \u0440\u0438\u0441\u0443\u044e\u0442\u0441\u044f \u0432 svg, \u0435\u0441\u0442\u044c \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0438 \u0437\u043d\u0430\u0447\u0438\u043c\u044b\u0445 \u043a\u043b\u0435\u0442\u043e\u043a \u0438 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438 \u0441\u0442\u0430\u0442\u0438\u0447\u043d\u044b\u0445 \u0441\u0442\u0440\u0435\u043b\u043e\u043a. \u041d\u043e \u0443 \u043d\u0435\u0433\u043e \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0430:<\/p>\n<ul>\n<li>\n<p>\u041c\u043d\u0435 \u043d\u0435 \u043d\u0440\u0430\u0432\u044f\u0442\u0441\u044f \u0435\u0433\u043e \u0444\u0438\u0433\u0443\u0440\u044b \u0438 \u0434\u043e\u0441\u043a\u0430 \u043d\u0430 \u0432\u0438\u0434<\/p>\n<\/li>\n<li>\n<p>\u042f \u0443\u0436\u0435 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b \u0441\u0432\u043e\u0439 \u0431\u0440\u0435\u0434\u043e\u0432\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0434\u0435\u0448\u0435\u0432\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u0444\u0438\u0433\u0443\u0440\u044b, \u0438 \u044d\u0442\u043e \u043d\u0435 SVG<\/p>\n<\/li>\n<\/ul>\n<p>\u0427\u0442\u043e \u0437\u0430 \u0441\u043f\u043e\u0441\u043e\u0431 \u0442\u0430\u043a\u043e\u0439? \u0414\u0430\u0436\u0435 \u043d\u0435 \u0437\u043d\u0430\u044e, \u043a\u0430\u043a \u0432\u0430\u043c \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u2014 \u044d\u0442\u043e ASCII-\u0441\u0438\u043c\u0432\u043e\u043b\u044b \ud83d\ude42 \u0412\u043e\u0442 \u043e\u043d\u0438: \u2654 \u2655 \u2656 \u2657 \u2658 \u2659 \u265a \u265b \u265c \u265d \u265e \u265f. \u0418 \u0435\u0441\u043b\u0438 \u0438\u0445 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u0447\u0442\u043e \u043e\u043d\u0438 \u043a\u043e \u0432\u0441\u0435\u043c\u0443 \u043f\u0440\u043e\u0447\u0435\u043c\u0443 \u043e\u0447\u0435\u043d\u044c \u0434\u0430\u0436\u0435 \u043d\u0435\u043f\u043b\u043e\u0445\u0438 \u043d\u0430 \u0432\u0438\u0434 \u043a\u0430\u043a \u043f\u043e \u043c\u043d\u0435:<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/bx\/yb\/nk\/bxybnkzqhjryp6i69fhudk8wi9e.png\" data-src=\"https:\/\/habrastorage.org\/webt\/bx\/yb\/nk\/bxybnkzqhjryp6i69fhudk8wi9e.png\"\/><\/figure>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u044f \u0445\u043e\u0442\u0435\u043b \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u0434\u043e\u0441\u043a\u0443 \u0432 \u0430\u0441\u043a\u0435\u0442\u0438\u0447\u043d\u043e\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c ASCII-only \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435. \u041d\u043e \u043f\u043e\u0441\u043b\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u043e\u0442\u0443\u0433\u043e\u0432 \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u0431\u0443\u0434\u0443\u0442 \u043d\u0435\u043f\u043e\u043f\u0440\u0430\u0432\u0438\u043c\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c \u043f\u0443\u0441\u0442\u044b\u0445 \u0431\u0435\u043b\u044b\u0445 \u0438 \u0447\u0435\u0440\u043d\u044b\u0445 \u043a\u043b\u0435\u0442\u043e\u043a. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0443\u0433\u043b\u0443\u0431\u0438\u0442\u044c\u0441\u044f \u0432 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u0443\u044e html-css \u0432\u0435\u0440\u0441\u0442\u043a\u0443, \u0430 \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u043a\u043b\u0435\u0442\u043e\u0447\u043a\u0435 \u0443\u0436\u0435 \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 ASCII-\u0441\u0438\u043c\u0432\u043e\u043b\u044b. \u042d\u0442\u043e \u0432\u0441\u0435 \u0435\u0449\u0435 \u0434\u0435\u0448\u0435\u0432\u043e, \u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0444\u0438\u0448\u043a\u0430 \u2014 ASCII-\u0444\u0438\u0433\u0443\u0440\u044b \u2014 \u0432\u0441\u0435 \u0435\u0449\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f, \u043d\u043e \u0437\u0430\u0442\u043e \u044d\u0442\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043a\u0430\u043a \u0434\u043d\u043e.<\/p>\n<h2>\u041a\u0430\u043a \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0434\u043e\u0441\u043a\u0443 \u0432 \u0437\u0430\u043c\u0435\u0442\u043a\u0435<\/h2>\n<p>\u0422\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u043e \u0432 \u0442\u0430\u043a\u0438\u0445 \u043f\u043b\u0430\u0433\u0438\u043d\u0430\u0445 \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f <a href=\"https:\/\/www.chess.com\/terms\/fen-chess\" rel=\"noopener noreferrer nofollow\">FEN-\u043d\u043e\u0442\u0430\u0446\u0438\u044f<\/a>. \u042d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0448\u0430\u0445\u043c\u0430\u0442\u043d\u043e\u0439 \u0434\u043e\u0441\u043a\u0438 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u043e\u0439. \u0412 \u0431\u0430\u0437\u043e\u0432\u043e\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435 FEN \u043d\u043e\u0442\u0430\u0446\u0438\u044f \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code>rnbqkbnr\/pp1ppppp\/2p5\/8\/4P3\/8\/PPPP1PPP\/RNBQKBNR <\/code><\/pre>\n<p>\u0420\u044f\u0434\u044b \u043e\u0442\u0434\u0435\u043b\u0435\u043d\u044b \u0441\u043b\u0435\u0448\u0430\u043c\u0438 <code>\/<\/code>. \u0411\u0443\u043a\u0432\u044b \u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0442: r \u2014 \u043b\u0430\u0434\u044c\u044f, n \u2014 \u043a\u043e\u043d\u044c, b \u2014 \u0441\u043b\u043e\u043d, q \u2014 \u0444\u0435\u0440\u0437\u044c, k \u2014 \u043a\u043e\u0440\u043e\u043b\u044c, p \u2014 \u043f\u0435\u0448\u043a\u0430. \u0411\u043e\u043b\u044c\u0448\u0438\u0435 \u0431\u0443\u043a\u0432\u044b \u0434\u043b\u044f \u0431\u0435\u043b\u044b\u0445, \u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0435 \u0434\u043b\u044f \u0447\u0435\u0440\u043d\u044b\u0445. \u0426\u0438\u0444\u0440\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0443\u0441\u0442\u044b\u0445 \u043a\u043b\u0435\u0442\u043e\u043a \u0432 \u0440\u044f\u0434\u0443, \u0438\u0434\u0443\u0449\u0438\u0445 \u043f\u043e\u0434\u0440\u044f\u0434. \u0414\u0430\u043b\u0435\u0435 \u0443 FEN-\u0441\u0442\u0440\u043e\u043a\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0438\u043f\u0438\u0441\u043a\u0438, \u043a\u0430\u0441\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0445\u043e\u0434\u0430, \u043f\u0440\u0430\u0432\u0430 \u0440\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 \u0438 \u043f\u0440\u043e\u0447\u0435\u0435, \u043d\u043e \u043e\u043d\u0438 \u043d\u0430\u0441 \u0432 \u0440\u0430\u0437\u0440\u0435\u0437\u0435 \u043d\u0430\u0448\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442.<\/p>\n<p>\u041c\u044b \u0445\u043e\u0442\u0438\u043c \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0448 \u043f\u043b\u0430\u0433\u0438\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0442\u0430\u043a: \u043c\u044b \u0432 \u0437\u0430\u043c\u0435\u0442\u043a\u0435 \u0431\u0443\u0434\u0435\u043c \u043f\u0438\u0441\u0430\u0442\u044c FEN-\u043d\u043e\u0442\u0430\u0446\u0438\u044e \u0432 \u0431\u043b\u043e\u043a\u0435 \u043a\u043e\u0434\u0430 \u0441 \u043f\u043e\u043c\u0435\u0442\u043a\u043e\u0439 <code>chess<\/code>:<\/p>\n<pre><code>```chess 8\/3k1P2\/2N5\/b7\/5K2\/4r3\/3P4\/8 ``` <\/code><\/pre>\n<p>\u0430 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0437\u0430\u043c\u0435\u0442\u043a\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u043c\u0435\u0441\u0442\u043e \u0431\u043b\u043e\u043a\u0430 \u043a\u043e\u0434\u0430 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0448\u0430\u0445\u043c\u0430\u0442\u043d\u0443\u044e \u0434\u043e\u0441\u043a\u0443 \u0441 \u0444\u0438\u0433\u0443\u0440\u0430\u043c\u0438, \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/ku\/eb\/up\/kuebupzm7vzynllf__h-aiupvla.png\" data-src=\"https:\/\/habrastorage.org\/webt\/ku\/eb\/up\/kuebupzm7vzynllf__h-aiupvla.png\"\/><\/figure>\n<h2>\u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0435\u043c \u043a \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044e<\/h2>\n<p>\u0418\u0442\u0430\u043a, \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u043d\u0430\u0439\u0442\u0438 \u0432\u0441\u0435 <code>chess<\/code>-\u0431\u043b\u043e\u043a\u0438 \u0432 \u0437\u0430\u043c\u0435\u0442\u043a\u0435 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0438\u0445 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435. \u0425\u043c, \u0432\u0430\u043c \u044d\u0442\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442? \u0415\u0441\u043b\u0438 \u0432\u044b \u0447\u0438\u0442\u0430\u043b\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/861230\/\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e<\/a>, \u0442\u043e \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u0442\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u043e\u0434\u0438\u043d-\u0432-\u043e\u0434\u0438\u043d \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0441\u0430\u043c\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u0430: Guitar Tabs Viewer, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u043c\u0435\u043d\u044f\u043b &#171;\u0432\u0441\u0435 \u0442\u0438\u0440\u0435 \u043d\u0430 \u0442\u043e\u0447\u043a\u0438&#187; \u0432 \u043f\u043e\u0433\u043e\u043d\u0435 \u0437\u0430 \u0447\u0438\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e \u0433\u0438\u0442\u0430\u0440\u043d\u043e\u0439 \u0442\u0430\u0431\u0443\u043b\u0430\u0442\u0443\u0440\u044b. \u0422.\u0435. \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043e\u0442\u0442\u0443\u0434\u0430 \u043f\u043e\u0434\u0433\u043b\u044f\u0434\u0435\u0442\u044c, \u0447\u0442\u043e \u043f\u043e\u0434\u043c\u0435\u043d\u043e\u0439 HTML \u043d\u0430 \u0441\u0442\u0430\u0434\u0438\u0438 \u043f\u0440\u0435\u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u043c\u0435\u0442\u043e\u0434 <code>Plugin.registerMarkdownCodeBlockProcessor()<\/code>, \u0430 \u0437\u0430\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043a\u0430\u043a-\u0442\u043e \u0442\u0430\u043a:<\/p>\n<pre><code class=\"javascript\">class ChessLightweightPlugin extends obsidian.Plugin {     async onload() {         this.registerMarkdownCodeBlockProcessor('chess', (source, el, ctx) =&gt; {             \/\/ Render chess board             el.innerHTML = ...???         })     } } <\/code><\/pre>\n<p>\u041e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043b\u0438\u0448\u044c \u0432\u044b\u044f\u0441\u043d\u0438\u0442\u044c, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0432 <code>el.innerHTML<\/code>, \u0438 \u043f\u043b\u0430\u0433\u0438\u043d \u0431\u0443\u0434\u0435\u0442 \u0433\u043e\u0442\u043e\u0432! \u0418\u0437 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e\u0433\u043e \u2014 \u0432 <code>el.innerHTML<\/code> \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u0430 \u043b\u0435\u0436\u0430\u0442\u044c HTML-\u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0430 \u0434\u043e\u0441\u043a\u0438: \u0447\u0435\u0440\u043d\u043e-\u0431\u0435\u043b\u044b\u0435 \u043a\u043b\u0435\u0442\u043e\u0447\u043a\u0438. \u0410 \u0432 \u043a\u0430\u0436\u0434\u0443\u044e \u0438\u0437 \u043a\u043b\u0435\u0442\u043e\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0442\u0435\u043a\u0441\u0442\u043e\u043c \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0438\u043c\u0435\u044e\u0449\u0443\u044e\u0441\u044f \u0443 \u043d\u0435\u0435 \u0444\u0438\u0433\u0443\u0440\u0443.<\/p>\n<h2>HTML-\u0441\u043a\u0435\u043b\u0435\u0442<\/h2>\n<p>\u0422\u0443\u0442 \u0432 \u0434\u0435\u043b\u043e \u0432\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u0449\u0435\u043f\u043e\u0442\u043a\u0430 \u0433\u043e\u0432\u043d\u043e\u043a\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0435\u0449\u0435 \u043d\u0438\u043a\u043e\u043c\u0443 \u043d\u0435 \u043f\u043e\u043c\u0435\u0448\u0430\u043b\u0430. \u042f \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0437\u043d\u0430\u044e, \u043a\u0430\u043a \u0435\u0449\u0435 \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u043e, \u0447\u0442\u043e \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 HTML-\u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0443\u0441\u0442\u043e\u0439 \u0434\u043e\u0441\u043a\u0438, \u043a\u0440\u0435\u043f\u0438\u0442\u0435\u0441\u044c:<\/p>\n<pre><code class=\"javascript\">const boardHtml = `&lt;div class=\"board\"&gt;     &lt;div class=\"row\" id=\"row8\"&gt;         &lt;div class=\"square white\" id=\"a8\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"b8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"c8\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"d8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"e8\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"f8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"g8\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"h8\"&gt;&lt;\/div&gt;     &lt;\/div&gt;     &lt;div class=\"row\" id=\"row7\"&gt;         &lt;div class=\"square black\" id=\"a7\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"b7\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"c7\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"d7\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"e7\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"f7\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"g7\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"h7\"&gt;&lt;\/div&gt;     &lt;\/div&gt; ...     &lt;div class=\"row\" id=\"row1\"&gt;         &lt;div class=\"square black\" id=\"a1\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"b1\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"c1\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"d1\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"e1\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"f1\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"g1\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"h1\"&gt;&lt;\/div&gt;     &lt;\/div&gt; &lt;\/div&gt;` <\/code><\/pre>\n<p>\u041d\u0443 \u0432\u044b \u043f\u043e\u043d\u044f\u043b\u0438 \u2014 \u043c\u043d\u0435 \u0431\u044b\u043b\u043e \u043b\u0435\u043d\u044c \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e \u0447\u0435\u0440\u0435\u0437 JS, \u043a \u0442\u043e\u043c\u0443 \u0436\u0435 \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u043d\u0435\u043e\u0431\u044a\u044f\u0441\u043d\u0438\u043c\u0443\u044e \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u044c \u0432 \u044d\u0442\u0438\u0445 \u0432\u043e\u0441\u044c\u043c\u0438\u0434\u0435\u0441\u044f\u0442\u0438 \u0441 \u043a\u043e\u043f\u0435\u0439\u043a\u0430\u043c\u0438 \u0441\u0442\u0440\u043e\u043a\u0430\u0445 \u2014 \u0431\u0443\u0434\u0442\u043e \u043d\u0430 \u0441\u043a\u0435\u043b\u0435\u0442 \u043f\u0443\u0441\u0442\u043e\u0439 \u0434\u043e\u0441\u043a\u0438 \u0441\u043c\u043e\u0442\u0440\u044e \ud83d\ude42<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0431\u043b\u043e\u043a <code>chess<\/code>-\u043a\u043e\u0434\u0430 \u044d\u0442\u043e\u0439 \u0434\u043e\u0441\u043a\u043e\u0439:<\/p>\n<pre><code class=\"javascript\">async onload() { this.registerMarkdownCodeBlockProcessor('chess', (source, el, ctx) =&gt; { el.innerHTML = boardHtml }) } <\/code><\/pre>\n<p>\u0412\u043e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u0430\u0436\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u043c\u044b \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0437\u0430\u043c\u0435\u043d\u0438\u043b\u0438 \u043d\u0430\u0448\u0438 \u0431\u043b\u043e\u043a\u0438 \u043a\u043e\u0434\u0430 \u0432 \u0437\u0430\u043c\u0435\u0442\u043a\u0430\u0445 \u043d\u0430 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0435 <em>\u043d\u0438\u0447\u0435\u0433\u043e<\/em> \u2014 \u043f\u0443\u0441\u0442\u043e\u0442\u0443, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0443 \u043d\u0430\u0448\u0438\u0445 <code>&lt;div&gt;<\/code>&#8216;\u043e\u0432 \u0435\u0449\u0435 \u043d\u0435\u0442 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u043e\u043f\u043b\u043e\u0449\u0435\u043d\u0438\u044f.<\/p>\n<h2>CSS<\/h2>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u044d\u0442\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c. \u0423 \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 css-\u0444\u0430\u0439\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u043e\u0441\u043a\u0443:<\/p>\n<pre><code class=\"css\">body {     --cell-size: 50px; }  .board {     margin: 20px 0px 20px 0px; }  .row {     display: flex;     flex-direction: row; }  .square {     width: var(--cell-size);     height: var(--cell-size);     display: flex;     align-items: center;     justify-content: center; }  .white {     background-color: color(srgb 0.944 0.944 0.944); }  .black {     background-color: color(srgb 0.81333 0.81333 0.81333); } <\/code><\/pre>\n<p>\u041d\u0438\u0447\u0435\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e: \u0434\u0430\u0435\u043c \u043a\u043b\u0435\u0442\u043a\u0430\u043c \u0440\u0430\u0437\u043c\u0435\u0440\u044b, \u043a\u0440\u0430\u0441\u0438\u043c \u0438\u0445 \u0432 \u0441\u0432\u043e\u0438 \u0446\u0432\u0435\u0442\u0430, \u0432\u044b\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0438\u0445 \u0432 \u0440\u044f\u0434\u044b.<\/p>\n<p>\u042f \u043f\u043e-\u043d\u0430\u0447\u0430\u043b\u0443 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u044d\u0442\u0438\u0445 \u0441\u0442\u0438\u043b\u0435\u0439 \u0447\u0435\u0440\u0435\u0437 \u043e\u0431\u044b\u0447\u043d\u0443\u044e \u043f\u0430\u0440\u0443 \u0444\u0430\u0439\u043b\u043e\u0432 html-css \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435, \u0438 \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e. \u041d\u043e \u043a\u0430\u043a \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u044d\u0442\u043e\u0442 css \u0432 \u043f\u043b\u0430\u0433\u0438\u043d\u0435? \u041e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u2014 \u0432\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0435 \u0444\u0430\u0439\u043b \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <code>styles.css<\/code> (\u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c!) \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0434\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u0435 \u0435\u0433\u043e \u0432 \u043f\u0430\u043f\u043a\u0443, \u0433\u0434\u0435 \u043b\u0435\u0436\u0438\u0442 <code>main.js<\/code>. \u041d\u0438\u0447\u0435\u0433\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e, \u0441\u0442\u0438\u043b\u0438 \u043f\u043e\u0434\u0445\u0432\u0430\u0442\u044f\u0442\u0441\u044f \u0441\u0430\u043c\u0438.<\/p>\n<p>\u0414\u0435\u043b\u0430\u0435\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0437\u0430\u043c\u0435\u0442\u043a\u0435:<\/p>\n<pre><code># Two rooks mate  ```chess 8\/8\/4k3\/R7\/7R\/8\/8\/6K1 ```  ```chess 8\/4k3\/7R\/R7\/8\/8\/8\/6K1 ``` <\/code><\/pre>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c:<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/rv\/px\/je\/rvpxjeqckvyfwrsvymncwuwnlqa.png\" data-src=\"https:\/\/habrastorage.org\/webt\/rv\/px\/je\/rvpxjeqckvyfwrsvymncwuwnlqa.png\"\/><\/figure>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442! \u042f \u043d\u0435 \u0434\u0430\u0440\u043e\u043c \u0443\u043a\u0430\u0437\u0430\u043b \u0432 \u043a\u043b\u0430\u0441\u0441\u0435 <code>.board<\/code> \u043e\u0442\u0441\u0442\u0443\u043f\u044b \u0441\u0432\u0435\u0440\u0445\u0443 \u0438 \u0441\u043d\u0438\u0437\u0443: <code>margin: 20px 0px 20px 0px;<\/code>. \u0411\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u0434\u0432\u0435 \u0434\u043e\u0441\u043a\u0438 \u0441\u043a\u043b\u0435\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0432 \u0435\u0434\u0438\u043d\u043e\u0435 \u043f\u043e\u043b\u043e\u0442\u043d\u043e.<\/p>\n<p>\u0414\u043e\u0441\u043a\u0438 \u0440\u0438\u0441\u0443\u044e\u0442\u0441\u044f, \u043d\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 <code>chess<\/code>-\u0431\u043b\u043e\u043a\u043e\u0432 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f, \u0430 \u0441\u0430\u043c\u0438 \u0434\u043e\u0441\u043a\u0438 \u043f\u0443\u0441\u0442\u044b. \u041f\u043e\u043a\u0430 \u0447\u0442\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043c \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c FEN-\u0437\u0430\u043f\u0438\u0441\u0438 \u2014 \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0435\u0449\u0435 \u0434\u043e\u0439\u0434\u0435\u043c. \u0410 \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0430 \u0441\u043a\u043e\u0440\u0443\u044e \u0440\u0443\u043a\u0443 \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043c \u0444\u0438\u0433\u0443\u0440\u044b \u043f\u0440\u044f\u043c\u043e \u0445\u0430\u0440\u0434\u043a\u043e\u0434\u043e\u043c \u0432 HTML:<\/p>\n<pre><code class=\"javascript\">const whitesBoardHtml = `&lt;div class=\"board\"&gt;     &lt;div class=\"row\" id=\"row8\"&gt;         &lt;div class=\"square white\" id=\"a8\"&gt;\u265e&lt;\/div&gt;         &lt;div class=\"square black\" id=\"b8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"c8\"&gt;\u2657&lt;\/div&gt;         &lt;div class=\"square black\" id=\"d8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"e8\"&gt;\u265b&lt;\/div&gt;         &lt;div class=\"square black\" id=\"f8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"g8\"&gt;\u2654&lt;\/div&gt;         &lt;div class=\"square black\" id=\"h8\"&gt;&lt;\/div&gt;     &lt;\/div&gt;     &lt;div class=\"row\" id=\"row7\"&gt;         &lt;div class=\"square black\" id=\"a7\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"b7\"&gt;\u265f&lt;\/div&gt;         &lt;div class=\"square black\" id=\"c7\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"d7\"&gt;\u265a&lt;\/div&gt;         &lt;div class=\"square black\" id=\"e7\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"f7\"&gt;\u2656&lt;\/div&gt;         &lt;div class=\"square black\" id=\"g7\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"h7\"&gt;\u265d&lt;\/div&gt;     &lt;\/div&gt; ... <\/code><\/pre>\n<p>\u0421\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/fb\/lo\/9q\/fblo9qqopz-spqulhvs9xka7z2u.png\" data-src=\"https:\/\/habrastorage.org\/webt\/fb\/lo\/9q\/fblo9qqopz-spqulhvs9xka7z2u.png\"\/><\/figure>\n<p>\u041c\u0430\u043b\u043e\u0432\u0430\u0442\u043e, \u043d\u0443\u0436\u043d\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430. \u0418 \u043c\u043d\u0435 \u0443\u0436\u0435 \u0432\u0438\u0434\u043d\u0435\u0435\u0442\u0441\u044f \u043d\u0435\u0447\u0442\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0435&#8230; \u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u043c:<\/p>\n<pre><code class=\"css\">.square { ...     font-size: calc(var(--cell-size) * 0.85); } <\/code><\/pre>\n<p>\u0441\u043c\u043e\u0442\u0440\u0438\u043c:<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/5l\/ve\/o9\/5lveo9jctbasspcp6xuepx1jhye.png\" data-src=\"https:\/\/habrastorage.org\/webt\/5l\/ve\/o9\/5lveo9jctbasspcp6xuepx1jhye.png\"\/><\/figure>\n<p>\u0427\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442?! \u041f\u043e\u0447\u0435\u043c\u0443 \u0447\u0435\u0440\u043d\u0430\u044f \u043f\u0435\u0448\u043a\u0430 \u0442\u0430\u043a\u0430\u044f? \u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430, \u044d\u0442\u043e <strong>\u0431\u0430\u0433 ASCII<\/strong>, \u0430 \u0442\u043e\u0447\u043d\u0435\u0435 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u0447\u0435\u0440\u043d\u043e\u0439 \u043f\u0435\u0448\u043a\u0438. \u0417\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0442\u043e\u0433\u043e, \u043a\u0442\u043e \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u0442 \u0448\u0440\u0438\u0444\u0442, \u043d\u043e \u0432 90% \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0441 \u0447\u0435\u0440\u043d\u043e\u0439 \u043f\u0435\u0448\u043a\u043e\u0439 \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0432\u043e \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0445 \u2014 \u043e\u043d\u0430 \u043a\u0440\u0443\u043f\u043d\u0435\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0438 \u0441\u0438\u043d\u044f\u044f. \u0418 \u0432 Obsidian \u0442\u043e\u0436\u0435. \u041d\u043e \u043f\u0440\u0438 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u043e\u0431\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430\u0445 \u0432\u0430\u043c \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0432\u0435\u0437\u0442\u0438. \u041c\u043d\u0435 \u0432\u043e\u0442 \u0442\u043e\u0436\u0435 \u043a\u0430\u043a-\u0442\u043e \u043f\u043e\u0432\u0435\u0437\u043b\u043e, \u0438 \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u043e\u0435:<\/p>\n<pre><code class=\"css\">.square { ...     font-family: serif; } <\/code><\/pre>\n<p>\u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e:<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/kz\/8c\/ju\/kz8cjuasmtvwap5aiad5ex6-dvs.png\" data-src=\"https:\/\/habrastorage.org\/webt\/kz\/8c\/ju\/kz8cjuasmtvwap5aiad5ex6-dvs.png\"\/><\/figure>\n<p>\u041f\u0435\u0448\u043a\u0430 \u043f\u0440\u0438\u0448\u043b\u0430 \u0432 \u043d\u043e\u0440\u043c\u0443. \u0421\u0442\u0440\u0430\u043d\u043d\u043e, \u043d\u043e \u043b\u0430\u0434\u043d\u043e. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 Obsidian. \u041d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<h2>\u041e\u0447\u0435\u0440\u0447\u0438\u0432\u0430\u0435\u043c \u0431\u0438\u0437\u043d\u0435\u0441-\u043b\u043e\u0433\u0438\u043a\u0443<\/h2>\n<p>\u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u043a \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0431\u0438\u0437\u043d\u0435\u0441-\u043b\u043e\u0433\u0438\u043a\u0435, \u043d\u0435\u043d\u0430\u0434\u043e\u043b\u0433\u043e \u0432\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043a \u0441\u0430\u043c\u043e\u043c\u0443 \u043f\u043b\u0430\u0433\u0438\u043d\u0443. \u041c\u044b \u0437\u043d\u0430\u0435\u043c HTML-\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0434\u043e\u0441\u043a\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u043c \u0443\u0436\u0435 \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u043a\u0430\u043a \u0432 \u043d\u0435\u0435 &#171;\u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c&#187; \u0444\u0438\u0433\u0443\u0440\u044b: \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u043f\u0438\u0441\u044b\u0432\u0430\u044f \u0432 <code>&lt;div&gt;<\/code> \u043a\u043b\u0435\u0442\u043a\u0438 \u0442\u0435\u043a\u0441\u0442 \u0441 \u0444\u0438\u0433\u0443\u0440\u043e\u0439. \u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<pre><code class=\"javascript\">async onload() { this.registerMarkdownCodeBlockProcessor('chess', (source, el, ctx) =&gt; { \/\/ Parse code const data = new BoardData(source)  \/\/ Render chess board el.innerHTML = boardHtml  \/\/ Fill chess board with pieces for (const [addr, piece] of Object.entries(data.addresses)) { const cell = el.querySelector('[id=' + addr + ']') if (cell) { cell.innerText = piece } } }) } <\/code><\/pre>\n<p>\u0421\u043c\u043e\u0442\u0440\u0438\u0442\u0435, \u043c\u044b \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0437\u0430\u043b\u043e\u0436\u0438\u043b\u0438\u0441\u044c \u043d\u0430 \u043c\u0438\u0444\u0438\u0447\u0435\u0441\u043a\u0443\u044e <code>BoardData<\/code>, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0435\u0449\u0435 \u043d\u0435\u0442, \u043d\u043e \u043c\u044b \u0437\u043d\u0430\u0435\u043c, \u0447\u0442\u043e \u0443 \u043d\u0435\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c:<\/p>\n<ul>\n<li>\n<p>\u041a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440, \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0439 \u0432 \u0441\u0435\u0431\u044f source-HTML<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u043b\u0435 <code>addresses<\/code> \u2014 \u0441\u043b\u043e\u0432\u0430\u0440\u0438\u043a \u0432\u0438\u0434\u0430 <code>{\u0430\u0434\u0440\u0435\u0441; ACSII-\u0444\u0438\u0433\u0443\u0440\u0430}<\/code><\/p>\n<\/li>\n<\/ul>\n<p>\u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043b\u0438\u0448\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c <code>BoardData<\/code>, \u0438 \u043f\u043b\u0430\u0433\u0438\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/p>\n<h2>\u041f\u0430\u0440\u0441\u0438\u043c \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c FEN<\/h2>\n<p>\u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043a \u043f\u0430\u0440\u0441\u044f\u0449\u0435\u043c\u0443 \u043a\u043b\u0430\u0441\u0441\u0443 \u0443 \u043d\u0430\u0441 \u0443\u0436\u0435 \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435: \u043d\u0430\u0448\u0430 \u043a\u043e\u043d\u0435\u0447\u043d\u0430\u044f \u0446\u0435\u043b\u044c \u2014 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u043e\u043b\u0435-\u0441\u043b\u043e\u0432\u0430\u0440\u044c <code>addresses<\/code> \u0441 \u0430\u0434\u0440\u0435\u0441\u0430\u043c\u0438 \u0444\u0438\u0433\u0443\u0440. \u0414\u0435\u043b\u0430\u0435\u043c:<\/p>\n<pre><code class=\"javascript\">class BoardData {     \/\/ map of {address piece} like {'a4': '\u265e'}     addresses = {}      constructor(source) {         const lines = source.split('\\n')         const line = lines?.[0]         this.#parseFen(line)     }      #parseFen(fen) {         const rowLines = fen.split('\/')              let row = 8         let col = 1              this.addresses = {}              for (const rowLine of rowLines) {             col = 1             for (const ch of rowLine) {                 if (isLetter(ch)) {                     let piece = ''                          if (ch == 'p') piece = '\u265f'                     else if (ch == 'r') piece = '\u265c'                     else if (ch == 'n') piece = '\u265e'                     else if (ch == 'b') piece = '\u265d'                     else if (ch == 'q') piece = '\u265b'                     else if (ch == 'k') piece = '\u265a'                     else if (ch == 'P') piece = '\u2659'                     else if (ch == 'R') piece = '\u2656'                     else if (ch == 'N') piece = '\u2658'                     else if (ch == 'B') piece = '\u2657'                     else if (ch == 'Q') piece = '\u2655'                     else if (ch == 'K') piece = '\u2654'                          this.addresses[getAddress(row, col)] = piece                          col += 1                 } else {                     col += parseInt(ch, 10)                 }             }             row -= 1         }     } } <\/code><\/pre>\n<p>\u042d\u0442\u043e\u0442 \u043a\u043b\u0430\u0441\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0449\u0435\u043f\u043e\u0442\u043a\u0443 \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439:<\/p>\n<pre><code class=\"javascript\">function isLetter(c) {     return c.toLowerCase() != c.toUpperCase() }  function rowToString(r) {     return r.toString() }  function colToString(c) {     return String.fromCharCode('a'.charCodeAt() + c - 1) }  function getAddress(r, c) {     return colToString(c) + rowToString(r) } <\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043b\u0430\u0433\u0438\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0448\u0430\u0445\u043c\u0430\u0442\u043d\u044b\u0435 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 FEN-\u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c. \u0414\u043e\u0441\u0442\u0430\u0435\u043c \u043d\u0430\u0448\u0443 \u0441\u0442\u0430\u0440\u0443\u044e \u0437\u0430\u0433\u043e\u0442\u043e\u0432\u043a\u0443:<\/p>\n<pre><code># Two rooks mate  ```chess 8\/8\/4k3\/R7\/7R\/8\/8\/6K1 ```  ```chess 8\/4k3\/7R\/R7\/8\/8\/8\/6K1 ``` <\/code><\/pre>\n<p>\u0417\u0430\u043c\u0435\u0442\u043a\u0430 \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u0442\u0430\u0435\u0442 \u0432\u0438\u0434:<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/vf\/r5\/zx\/vfr5zxxkdeluesned0chrhqo270.png\" data-src=\"https:\/\/habrastorage.org\/webt\/vf\/r5\/zx\/vfr5zxxkdeluesned0chrhqo270.png\"\/><\/figure>\n<p>\u0423\u0440\u0430 \u2014 \u0432\u043e\u0442 \u043c\u044b \u0438 \u0434\u043e\u0431\u0438\u043b\u0438\u0441\u044c \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0433\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u043a\u0438 \u0438 \u0444\u0438\u0433\u0443\u0440, \u044f \u043d\u0430\u0441 \u043f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u044f\u044e.<\/p>\n<h2>\u041f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0430 \u043a\u043b\u0435\u0442\u043e\u043a<\/h2>\n<p>\u0423 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0434\u043e\u0441\u043a\u0438, \u043d\u043e \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043e\u0434\u043d\u0430 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u0434\u043b\u044f \u0448\u0430\u0445\u043c\u0430\u0442\u043d\u044b\u0445 \u0437\u0430\u0440\u0438\u0441\u043e\u0432\u043e\u043a \u0432\u0435\u0449\u044c \u2014 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u043c\u0435\u0447\u0430\u0442\u044c \u043a\u043b\u0435\u0442\u043a\u0438 \u0446\u0432\u0435\u0442\u0430\u043c\u0438, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u044f\u0441\u043d\u0435\u0435 \u0432\u044b\u0440\u0430\u0436\u0430\u0442\u044c \u043c\u044b\u0441\u043b\u044c \u0438 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u043d\u0430 \u0434\u043e\u0441\u043a\u0435. \u0412\u043e\u0442 \u043a\u0430\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u044d\u0442\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043e \u0432 <a href=\"https:\/\/chess.com\" rel=\"noopener noreferrer nofollow\">chess.com<\/a>:<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/i5\/ox\/-m\/i5ox-m2kj6mc6nmunloz1p_dpiq.png\" data-src=\"https:\/\/habrastorage.org\/webt\/i5\/ox\/-m\/i5ox-m2kj6mc6nmunloz1p_dpiq.png\"\/><\/figure>\n<p>\u042f \u0445\u043e\u0442\u0435\u043b \u0431\u044b \u0438\u043c\u0435\u0442\u044c \u0432 \u0430\u0440\u0441\u0435\u043d\u0430\u043b\u0435 \u0437\u0435\u043b\u0435\u043d\u044b\u0439, \u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u0438 \u0441\u0438\u043d\u0438\u0439 \u0446\u0432\u0435\u0442\u0430. \u0422\u0430\u043a \u0436\u0435 \u0435\u0441\u0442\u044c \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0435, \u0447\u0442\u043e\u0431\u044b \u0446\u0432\u0435\u0442\u0430 \u043b\u043e\u0436\u0438\u043b\u0438\u0441\u044c \u043d\u0430 \u043a\u043b\u0435\u0442\u043a\u0443 \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c\u044e, \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0435 \u0435\u0449\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043e\u0442\u043b\u0438\u0447\u0438\u0442\u044c \u0431\u0435\u043b\u0443\u044e \u0438 \u0447\u0435\u0440\u043d\u0443\u044e \u043a\u043b\u0435\u0442\u043a\u0438, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0435\u043d\u044b. \u0422\u0430\u043a \u0436\u0435 \u043f\u043e\u0434\u043e\u0448\u0435\u043b \u0431\u044b \u044d\u0444\u0444\u0435\u043a\u0442 &#171;\u0432\u0438\u043d\u044c\u0435\u0442\u043a\u0430&#187;.<\/p>\n<p>\u0420\u0430\u0441\u043a\u0440\u0430\u0448\u0438\u0432\u0430\u043d\u0438\u0435 \u043a\u043b\u0435\u0442\u043a\u0438 \u0431\u0443\u0434\u0435\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0435\u043d\u043d\u043e\u0439 \u043a\u043b\u0435\u0442\u043a\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u0442\u0440\u0435\u0445 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432: <code>.green-hihglight<\/code>, <code>.red-hihglight<\/code>, <code>.blue-hihglight<\/code>:<\/p>\n<pre><code class=\"css\">.red-hihglight {     box-shadow: 0 0 calc(var(--cell-size)*2) rgba(255, 0, 0, 0.75) inset; }  .blue-hihglight {     box-shadow: 0 0 calc(var(--cell-size)*2) rgba(0, 0, 255, 0.4) inset; }  .green-hihglight {     box-shadow: 0 0 calc(var(--cell-size)*2) rgba(0, 255, 0, 0.5) inset; } <\/code><\/pre>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u0442\u0435, \u0432 \u043a\u043b\u0430\u0441\u0441\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043d\u0435\u043a\u0438\u0439 <code>box-shadow<\/code> \u0441\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u043c\u0438 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f\u043c\u0438. \u042d\u0442\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043c\u043e\u0438\u0445 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0439 \u043d\u0430\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u044d\u0444\u0444\u0435\u043a\u0442\u0430 &#171;\u0432\u0438\u043d\u044c\u0435\u0442\u043a\u0430&#187; \u043d\u0430 \u043a\u043b\u0435\u0442\u043a\u0443 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0446\u0432\u0435\u0442\u0430\u043c\u0438. \u041f\u043e \u0438\u0442\u043e\u0433\u0443 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u043d\u0435 \u0442\u043e \u0447\u0442\u043e\u0431\u044b \u0432\u0438\u043d\u044c\u0435\u0442\u043a\u0430, \u043d\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043c\u0435\u043d\u044f \u0443\u0441\u0442\u0440\u043e\u0438\u043b \u2014 \u0441\u043a\u043e\u0440\u043e \u0443\u0432\u0438\u0434\u0438\u0442\u0435.<\/p>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u043c \u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0430\u043a \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u043a\u043b\u0435\u0442\u043a\u0430\u0445 \u0432 Obsidian-\u0437\u0430\u043c\u0435\u0442\u043a\u0435. \u042f \u043f\u0440\u0438\u0448\u0435\u043b \u043a \u0442\u043e\u0439 \u0436\u0435 \u0441\u0445\u0435\u043c\u0435, \u043a\u0430\u043a\u043e\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u0432\u0441\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 \u043c\u043d\u0435 \u0448\u0430\u0445\u043c\u0430\u0442\u043d\u044b\u0435 \u043f\u043b\u0430\u0433\u0438\u043d\u044b:<\/p>\n<pre><code>```chess fen: rnbqkbnr\/pp2pppp\/2p5\/3p4\/3PP3\/8\/PPP2PPP\/RNBQKBNR green: d7 d5 red: e4 ``` <\/code><\/pre>\n<p>\u0410 \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442 \u0447\u0442\u043e? \u0427\u0442\u043e \u0443 \u043d\u0430\u0441 \u0443\u0441\u043b\u043e\u0436\u043d\u0438\u0442\u0441\u044f \u043f\u0430\u0440\u0441\u0435\u0440 \u043a\u043b\u0430\u0441\u0441\u0430 <code>BoardData<\/code>. \u0422\u0430\u043a \u0436\u0435 \u0443 \u043d\u0435\u0433\u043e \u043f\u0440\u0438\u0431\u0430\u0432\u0438\u0442\u0441\u044f \u043f\u043e\u043b\u0435\u0439:<\/p>\n<pre><code class=\"javascript\">class BoardData { ...      \/\/ arrays of [address] like [e2, e4]     reds = []     greens = []     blues = []      constructor(source) {         const lines = source.split('\\n').map(line =&gt; line.trim())          for (const line of lines) {             if (line.startsWith('fen:')) {                 const fen = removePrefix(line, 'fen:').trim()                 this.#parseFen(fen)             } else if (line.startsWith('red:')) {                 const redLine = removePrefix(line, 'red:').trim()                 this.reds = redLine.split(' ')             } else if (line.startsWith('green:')) {                 const greenLine = removePrefix(line, 'green:').trim()                 this.greens = greenLine.split(' ')             } else if (line.startsWith('blue:')) {                 const blueLine = removePrefix(line, 'blue:').trim()                 this.blues = blueLine.split(' ')             } else {                 if (line.contains(':')) {                     continue                 }                 this.#parseFen(line)             }         }     } ... } <\/code><\/pre>\n<p>\u0410 \u0432 \u043f\u043b\u0430\u0433\u0438\u043d \u0434\u043e\u043f\u0438\u0448\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u043e\u0432\u044b\u0445 \u0440\u0430\u0441\u043f\u0430\u0440\u0448\u0435\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445:<\/p>\n<pre><code class=\"javascript\">class ChessLightweightPlugin extends obsidian.Plugin {     async onload() {         this.registerMarkdownCodeBlockProcessor('chess', (source, el, ctx) =&gt; {             \/\/ Parse code             const data = new BoardData(source)  ...              for (const addr of data.reds) {                 el.querySelector('[id=' + addr + ']').classList.add('red-hihglight')             }              for (const addr of data.greens) {                 el.querySelector('[id=' + addr + ']').classList.add('green-hihglight')             }              for (const addr of data.blues) {                 el.querySelector('[id=' + addr + ']').classList.add('blue-hihglight')             }         })     } } <\/code><\/pre>\n<p>\u0412\u0441\u0435, \u0443 \u043d\u0430\u0441 \u0432\u0441\u0435 \u0433\u043e\u0442\u043e\u0432\u043e. \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u043e\u0441\u043a\u0438 \u0432 \u0437\u0430\u043c\u0435\u0442\u043a\u0430\u0445 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u043c:<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/on\/s_\/to\/ons_toopqci2c1y2kjhwxmaylbw.png\" data-src=\"https:\/\/habrastorage.org\/webt\/on\/s_\/to\/ons_toopqci2c1y2kjhwxmaylbw.png\"\/><\/figure>\n<p>\u041d\u0435 \u0437\u043d\u0430\u044e \u043a\u0430\u043a \u0432\u0430\u043c, \u0430 \u044f \u0434\u043e\u0432\u043e\u043b\u0435\u043d \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c. \u0414\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0441\u0447\u0430\u0441\u0442\u044c\u044f \u043c\u043d\u0435 \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u043e\u0433\u043e&#8230;<\/p>\n<h2>\u0413\u043e\u0441\u043f\u0435\u0440\u0435\u0432\u043e\u0440\u043e\u0442 \u0434\u043e\u0441\u043a\u0438<\/h2>\n<p>\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0434\u0435\u0431\u044e\u0442 \u041a\u0430\u0440\u043e-\u041a\u0430\u043d\u043d \u0437\u0430 \u0447\u0435\u0440\u043d\u044b\u0445. \u0415\u0433\u043e \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0442\u044c \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0447\u0435\u0440\u043d\u044b\u0445. \u0425\u043e\u0447\u0443:<\/p>\n<pre><code>```chess ... flipBoard: true ``` <\/code><\/pre>\n<p>\u041a\u0430\u043a \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u044d\u0442\u043e \u043f\u043e\u043b\u0435, \u044f \u0443\u0436 \u043d\u0435 \u0441\u0442\u0430\u043d\u0443 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c, \u044d\u0442\u043e \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430. \u0417\u0430\u0434\u0430\u0447\u0430 \u0447\u0443\u0442\u044c \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u2014 \u043a\u0430\u043a \u0440\u0435\u0430\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0434\u043e\u0441\u043a\u0443? \u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c <code>transform<\/code>? \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u0430\u0434\u0440\u0435\u0441\u0430 \u043a\u043b\u0435\u0442\u043e\u043a? \u0422\u0443\u0442, \u043a\u0430\u043a \u0432\u043e\u0434\u0438\u0442\u0441\u044f, \u0432 \u0434\u0435\u043b\u043e \u0432\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u0449\u0435\u043f\u043e\u0442\u043a\u0430 \u0433\u043e\u0432\u043d\u043e\u043a\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0435\u0449\u0435 \u043d\u0438\u043a\u043e\u043c\u0443 \u043d\u0435 \u043f\u043e\u043c\u0435\u0448\u0430\u043b\u0430:<\/p>\n<pre><code class=\"javascript\">const whitesBoardHtml = `&lt;div class=\"board\"&gt;     &lt;div class=\"row\" id=\"row8\"&gt;         &lt;div class=\"square white\" id=\"a8\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"b8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"c8\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"d8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"e8\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"f8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"g8\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"h8\"&gt;&lt;\/div&gt;     &lt;\/div&gt; ...     &lt;div class=\"row\" id=\"row1\"&gt;         &lt;div class=\"square black\" id=\"a1\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"b1\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"c1\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"d1\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"e1\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"f1\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"g1\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"h1\"&gt;&lt;\/div&gt;     &lt;\/div&gt; &lt;\/div&gt;`  const blacksBoardHtml = `&lt;div class=\"board\"&gt;     &lt;div class=\"row\" id=\"row1\"&gt;         &lt;div class=\"square white\" id=\"h1\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"g1\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"f1\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"e1\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"d1\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"c1\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"b1\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"a1\"&gt;&lt;\/div&gt;     &lt;\/div&gt; ...     &lt;div class=\"row\" id=\"row8\"&gt;         &lt;div class=\"square black\" id=\"h8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"g8\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"f8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"e8\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"d8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"c8\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"b8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"a8\"&gt;&lt;\/div&gt;     &lt;\/div&gt; &lt;\/div&gt;` <\/code><\/pre>\n<p>\u041d\u0435, \u043d\u0443 \u0430 \u0447\u0442\u043e? \u0412\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u043d\u0438\u0445 \u0432\u043e\u0441\u0435\u043c\u044c\u0434\u0435\u0441\u044f\u0442 \u0441\u0442\u0440\u043e\u043a \u043f\u043e\u0437\u043e\u0440\u0430, \u0438 \u0432\u043e\u0442 \u0432\u044b \u0443\u0436\u0435 \u043f\u0438\u0448\u0435\u0442\u0435 \u0432 \u043f\u043b\u0430\u0433\u0438\u043d\u0435:<\/p>\n<pre><code class=\"javascript\">async onload() { this.registerMarkdownCodeBlockProcessor('chess', (source, el, ctx) =&gt; { \/\/ Parse code \u00a0 \u00a0 \u00a0 \u00a0 const data = new BoardData(source) \u00a0 \u00a0 \u00a0 \u00a0  ...  \/\/ Render chess board el.innerHTML = data.flipBoard ? blacksBoardHtml : whitesBoardHtml  ... }) } <\/code><\/pre>\n<p>\u0418 \u0432\u043e\u0442 \u0432\u044b \u0443\u0436\u0435 \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u043e \u0441\u0438\u0434\u0438\u0442\u0435 \u043d\u0430 \u043c\u0435\u0441\u0442\u0435 \u0447\u0435\u0440\u043d\u044b\u0445:<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/wx\/cp\/ug\/wxcpugrv9cc_nyzm4e2pff3ru9i.png\" data-src=\"https:\/\/habrastorage.org\/webt\/wx\/cp\/ug\/wxcpugrv9cc_nyzm4e2pff3ru9i.png\"\/><\/figure>\n<h2>\u0412\u0441\u0435?<\/h2>\n<p>\u0412\u0441\u0435 \ud83d\ude42<\/p>\n<p>\u041c\u043e\u0433\u043b\u0438 \u0431\u044b \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d \u0435\u0449\u0435 \u043b\u0443\u0447\u0448\u0435? \u0411\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e! \u0412 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430 \u043c\u043d\u0435 \u0432\u0438\u0441\u0438\u0442 \u043a\u0430\u043d\u0431\u0430\u043d-\u0434\u043e\u0441\u043a\u0430 \u0441 \u0432\u043e\u0442 \u0442\u0430\u043a\u0438\u043c \u0441\u043f\u0438\u0441\u043a\u043e\u043c TODO \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u0430:<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/jy\/xz\/jp\/jyxzjpj9wwf5s1ob2oihlgresms.png\" data-src=\"https:\/\/habrastorage.org\/webt\/jy\/xz\/jp\/jyxzjpj9wwf5s1ob2oihlgresms.png\"\/><\/figure>\n<p>\u041a\u043e\u0433\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u0443 \u043c\u0435\u043d\u044f \u0434\u043e\u0431\u0435\u0440\u0443\u0442\u0441\u044f \u0440\u0443\u043a\u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u044c \u0438 \u0432\u0441\u0435 \u044d\u0442\u0438 \u0437\u0430\u0434\u0430\u0447\u0438, \u043d\u043e \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u044f \u043c\u043e\u0433\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u043c, \u043a\u0430\u043a \u0435\u0441\u0442\u044c, \u0430 \u0432\u044b \u0438 \u0442\u0430\u043a \u043f\u043e\u0447\u0435\u0440\u043f\u043d\u0443\u043b\u0438 \u0438\u0437 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u0442\u0443 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u043c\u044b\u0441\u043b\u044c, \u0447\u0442\u043e \u044f \u0445\u043e\u0442\u0435\u043b \u0434\u043e\u043d\u0435\u0441\u0442\u0438:<\/p>\n<blockquote>\n<p>\u041f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0434\u043b\u043e\u0436\u0438\u0442\u0435 styles.css \u0432 \u043f\u0430\u043f\u043a\u0443 \u043f\u043b\u0430\u0433\u0438\u043d\u0430!<\/p>\n<\/blockquote>\n<p>\u0414\u0430, \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u044d\u0442\u043e \u043d\u0435 \u043f\u0440\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435, \u0430 \u043f\u0440\u043e \u0432\u0435\u0440\u0441\u0442\u043a\u0443, \u0431\u0438\u0437\u043d\u0435\u0441-\u043b\u043e\u0433\u0438\u043a\u0443 \u0438 \u0449\u0435\u043f\u043e\u0442\u043a\u0443 \u0432\u0430\u0443-\u044d\u0444\u0444\u0435\u043a\u0442\u0430, \u043a\u043e\u0433\u0434\u0430 \u0432\u0430\u0448\u0430 \u0437\u0430\u043c\u0435\u0442\u043a\u0430 \u0438\u0437 \u0442\u0435\u043a\u0441\u0442\u0430 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u043c\u0438\u043d\u0438-\u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0443. \u0422\u0430\u043a \u0447\u0442\u043e \u0441\u0447\u0438\u0442\u0430\u0439\u0442\u0435, \u0447\u0442\u043e \u044d\u0442\u043e \u043c\u043e\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0430\u0444\u0435\u0440\u0430.<\/p>\n<hr\/>\n<p>\u041d\u0430 \u044d\u0442\u043e\u043c \u043d\u0430\u0448\u0430 \u044d\u043f\u043e\u043f\u0435\u044f \u0441 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432 \u0434\u043b\u044f Obsidian \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u044f \u0436\u0435\u043b\u0430\u044e \u0432\u0430\u043c \u0443\u0441\u043f\u0435\u0445\u043e\u0432 \u0432 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432 \u0434\u043b\u044f Obsidian, \u0432\u0435\u0434\u044c \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u044b \u0437\u043d\u0430\u0435\u0442\u0435, \u0447\u0442\u043e \u044d\u0442\u043e \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e, \u043d\u043e \u043e\u0447\u0435\u043d\u044c \u0432\u0435\u0441\u0435\u043b\u043e, \u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u2014 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e <em>\u0432 \u0432\u0430\u0448\u0438\u0445<\/em> \u043f\u043e\u0432\u0441\u0435\u0434\u043d\u0435\u0432\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u0445 \u0441 \u0437\u0430\u043c\u0435\u0442\u043a\u0430\u043c\u0438.<\/p>\n<p>\u041a\u0430\u043a \u0438 \u043e\u0431\u0435\u0449\u0430\u043b, \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 <a href=\"https:\/\/github.com\/AskePit\/aske-obsidian-plugins\" rel=\"noopener noreferrer nofollow\">GitHub<\/a>, \u0435\u0441\u043b\u0438 \u043a\u0442\u043e-\u0442\u043e \u0437\u0430\u0445\u043e\u0447\u0435\u0442 \u043f\u043e\u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c \u0438\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043d\u0430\u043c\u0438 \u0437\u0434\u0435\u0441\u044c \u043f\u043b\u0430\u0433\u0438\u043d\u044b.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/862166\/\"> https:\/\/habr.com\/ru\/articles\/862166\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u0434\u043b\u044f Obsidian. \u041f\u0435\u0440\u0432\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0439\u0442\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/861230\/\" rel=\"noopener noreferrer nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>. \u0412 \u043d\u0435\u0439 \u043c\u044b:<\/p>\n<ul>\n<li>\n<p>\u0412\u044b\u044f\u0441\u043d\u0438\u043b\u0438, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u0434\u0430\u0436\u0435 \u043f\u0440\u043e\u0449\u0435, \u0447\u0435\u043c \u044d\u0442\u043e \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/p>\n<\/li>\n<li>\n<p>\u041d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u0442\u0440\u0438 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445 \u043f\u043b\u0430\u0433\u0438\u043d\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0436\u0435 \u0432\u043e\u0432\u0441\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f <s>\u043d\u0430 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0435<\/s> \u043b\u0438\u0447\u043d\u043e \u043c\u043d\u043e\u0439<\/p>\n<\/li>\n<li>\n<p>\u0413\u0440\u043e\u0437\u0438\u043b\u0438\u0441\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u044b\u0439 \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0431\u043e\u0441\u0441-\u043f\u043b\u0430\u0433\u0438\u043d<\/p>\n<\/li>\n<\/ul>\n<p>\u0412\u043e\u0442 \u0438 \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c.<\/p>\n<h2>\u041f\u043b\u0430\u0433\u0438\u043d 4. Chess Viewer. \u0418\u0434\u0435\u044f<\/h2>\n<p>\u042f \u043d\u0435 \u0448\u0430\u0445\u043c\u0430\u0442\u0438\u0441\u0442, \u043d\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0441\u044c \ud83d\ude42 \u0423 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u0441 \u0448\u0430\u0445\u043c\u0430\u0442\u043d\u044b\u043c\u0438 \u0437\u0430\u0440\u0438\u0441\u043e\u0432\u043a\u0430\u043c\u0438. \u0418 \u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e \u043d\u0435 \u043e\u0434\u0438\u043d \u0442\u0430\u043a\u043e\u0439, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432 Community plugins \u0435\u0441\u0442\u044c \u0442\u0440\u0438 \u043f\u043b\u0430\u0433\u0438\u043d\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0445 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u0432 \u0437\u0430\u043c\u0435\u0442\u043a\u0435 \u0448\u0430\u0445\u043c\u0430\u0442\u043d\u0443\u044e \u0434\u043e\u0441\u043a\u0443 \u0441 \u0444\u0438\u0433\u0443\u0440\u0430\u043c\u0438.<\/p>\n<p>\u042f \u0432 \u0441\u0432\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f Obsidian Chess, \u043d\u043e \u043e\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0444\u0438\u0433\u0443\u0440 \u043d\u0430 \u0434\u043e\u0441\u043a\u0435, \u0438 \u043e\u043d\u0438 \u043f\u043e \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0434\u043e\u043b\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0443\u0436\u0430\u043b\u0438\u0441\u044c \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435. \u041f\u043e\u0442\u043e\u043c \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0444\u0438\u0433\u0443\u0440 \u0438 \u0432\u043e\u0432\u0441\u0435 \u0438\u0441\u0447\u0435\u0437\u043b\u0438:<\/p>\n<figure class=\"\"><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u043d\u0430\u0445\u043e\u0436\u0443 \u044d\u0442\u043e\u0442 \u043f\u043b\u0430\u0433\u0438\u043d \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438.<\/p>\n<p>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0435\u0449\u0435 \u043f\u0430\u0440\u0430 \u0440\u0435\u0448\u0435\u043d\u0438\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"https:\/\/github.com\/SilentVoid13\/Chesser\" rel=\"noopener noreferrer nofollow\">Chesser<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/github.com\/chrislicodes\/obsidian-chess-study\" rel=\"noopener noreferrer nofollow\">Chess Study<\/a>, \u043d\u043e \u043e\u043d\u0438 \u0443\u0436\u0435 \u0441\u043a\u043e\u0440\u0435\u0435 \u043f\u043e\u0445\u043e\u0436\u0438 \u043d\u0430 \u043a\u043e\u043c\u0431\u0430\u0439\u043d\u044b \u2014 \u0442\u0430\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0432\u0438\u0433\u0430\u0442\u044c \u0444\u0438\u0433\u0443\u0440\u044b, \u0431\u0440\u0435\u0439\u043d\u0448\u0442\u043e\u0440\u043c\u0438\u0442\u044c, \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0441\u0442\u0440\u0435\u043b\u043a\u0438 \u0438 \u043f\u0440\u043e\u0447\u0435\u0435. \u0412 \u043e\u0431\u0449\u0435\u043c \u0441\u043b\u043e\u0436\u043d\u043e \u2014 \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0447\u0442\u043e-\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0435, \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0435 \u0438 \u043d\u0435 \u0442\u043e\u0440\u043c\u043e\u0437\u044f\u0449\u0435\u0435.<\/p>\n<p>\u0411\u043b\u0438\u0437\u043a\u0438\u043c \u043f\u043e \u0434\u0443\u0445\u0443 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043b\u0430\u0433\u0438\u043d <a href=\"https:\/\/github.com\/THeK3nger\/obsidian-chessboard\" rel=\"noopener noreferrer nofollow\">Chessboard Viewer<\/a>: view-only, \u0444\u0438\u0433\u0443\u0440\u044b \u0440\u0438\u0441\u0443\u044e\u0442\u0441\u044f \u0432 svg, \u0435\u0441\u0442\u044c \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0438 \u0437\u043d\u0430\u0447\u0438\u043c\u044b\u0445 \u043a\u043b\u0435\u0442\u043e\u043a \u0438 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438 \u0441\u0442\u0430\u0442\u0438\u0447\u043d\u044b\u0445 \u0441\u0442\u0440\u0435\u043b\u043e\u043a. \u041d\u043e \u0443 \u043d\u0435\u0433\u043e \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0430:<\/p>\n<ul>\n<li>\n<p>\u041c\u043d\u0435 \u043d\u0435 \u043d\u0440\u0430\u0432\u044f\u0442\u0441\u044f \u0435\u0433\u043e \u0444\u0438\u0433\u0443\u0440\u044b \u0438 \u0434\u043e\u0441\u043a\u0430 \u043d\u0430 \u0432\u0438\u0434<\/p>\n<\/li>\n<li>\n<p>\u042f \u0443\u0436\u0435 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b \u0441\u0432\u043e\u0439 \u0431\u0440\u0435\u0434\u043e\u0432\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0434\u0435\u0448\u0435\u0432\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u0444\u0438\u0433\u0443\u0440\u044b, \u0438 \u044d\u0442\u043e \u043d\u0435 SVG<\/p>\n<\/li>\n<\/ul>\n<p>\u0427\u0442\u043e \u0437\u0430 \u0441\u043f\u043e\u0441\u043e\u0431 \u0442\u0430\u043a\u043e\u0439? \u0414\u0430\u0436\u0435 \u043d\u0435 \u0437\u043d\u0430\u044e, \u043a\u0430\u043a \u0432\u0430\u043c \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u2014 \u044d\u0442\u043e ASCII-\u0441\u0438\u043c\u0432\u043e\u043b\u044b \ud83d\ude42 \u0412\u043e\u0442 \u043e\u043d\u0438: \u2654 \u2655 \u2656 \u2657 \u2658 \u2659 \u265a \u265b \u265c \u265d \u265e \u265f. \u0418 \u0435\u0441\u043b\u0438 \u0438\u0445 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u0447\u0442\u043e \u043e\u043d\u0438 \u043a\u043e \u0432\u0441\u0435\u043c\u0443 \u043f\u0440\u043e\u0447\u0435\u043c\u0443 \u043e\u0447\u0435\u043d\u044c \u0434\u0430\u0436\u0435 \u043d\u0435\u043f\u043b\u043e\u0445\u0438 \u043d\u0430 \u0432\u0438\u0434 \u043a\u0430\u043a \u043f\u043e \u043c\u043d\u0435:<\/p>\n<figure class=\"\"><\/figure>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u044f \u0445\u043e\u0442\u0435\u043b \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u0434\u043e\u0441\u043a\u0443 \u0432 \u0430\u0441\u043a\u0435\u0442\u0438\u0447\u043d\u043e\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c ASCII-only \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435. \u041d\u043e \u043f\u043e\u0441\u043b\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u043e\u0442\u0443\u0433\u043e\u0432 \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u0431\u0443\u0434\u0443\u0442 \u043d\u0435\u043f\u043e\u043f\u0440\u0430\u0432\u0438\u043c\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c \u043f\u0443\u0441\u0442\u044b\u0445 \u0431\u0435\u043b\u044b\u0445 \u0438 \u0447\u0435\u0440\u043d\u044b\u0445 \u043a\u043b\u0435\u0442\u043e\u043a. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0443\u0433\u043b\u0443\u0431\u0438\u0442\u044c\u0441\u044f \u0432 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u0443\u044e html-css \u0432\u0435\u0440\u0441\u0442\u043a\u0443, \u0430 \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u043a\u043b\u0435\u0442\u043e\u0447\u043a\u0435 \u0443\u0436\u0435 \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 ASCII-\u0441\u0438\u043c\u0432\u043e\u043b\u044b. \u042d\u0442\u043e \u0432\u0441\u0435 \u0435\u0449\u0435 \u0434\u0435\u0448\u0435\u0432\u043e, \u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0444\u0438\u0448\u043a\u0430 \u2014 ASCII-\u0444\u0438\u0433\u0443\u0440\u044b \u2014 \u0432\u0441\u0435 \u0435\u0449\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f, \u043d\u043e \u0437\u0430\u0442\u043e \u044d\u0442\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043a\u0430\u043a \u0434\u043d\u043e.<\/p>\n<h2>\u041a\u0430\u043a \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0434\u043e\u0441\u043a\u0443 \u0432 \u0437\u0430\u043c\u0435\u0442\u043a\u0435<\/h2>\n<p>\u0422\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u043e \u0432 \u0442\u0430\u043a\u0438\u0445 \u043f\u043b\u0430\u0433\u0438\u043d\u0430\u0445 \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f <a href=\"https:\/\/www.chess.com\/terms\/fen-chess\" rel=\"noopener noreferrer nofollow\">FEN-\u043d\u043e\u0442\u0430\u0446\u0438\u044f<\/a>. \u042d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0448\u0430\u0445\u043c\u0430\u0442\u043d\u043e\u0439 \u0434\u043e\u0441\u043a\u0438 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u043e\u0439. \u0412 \u0431\u0430\u0437\u043e\u0432\u043e\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435 FEN \u043d\u043e\u0442\u0430\u0446\u0438\u044f \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code>rnbqkbnr\/pp1ppppp\/2p5\/8\/4P3\/8\/PPPP1PPP\/RNBQKBNR <\/code><\/pre>\n<p>\u0420\u044f\u0434\u044b \u043e\u0442\u0434\u0435\u043b\u0435\u043d\u044b \u0441\u043b\u0435\u0448\u0430\u043c\u0438 <code>\/<\/code>. \u0411\u0443\u043a\u0432\u044b \u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0442: r \u2014 \u043b\u0430\u0434\u044c\u044f, n \u2014 \u043a\u043e\u043d\u044c, b \u2014 \u0441\u043b\u043e\u043d, q \u2014 \u0444\u0435\u0440\u0437\u044c, k \u2014 \u043a\u043e\u0440\u043e\u043b\u044c, p \u2014 \u043f\u0435\u0448\u043a\u0430. \u0411\u043e\u043b\u044c\u0448\u0438\u0435 \u0431\u0443\u043a\u0432\u044b \u0434\u043b\u044f \u0431\u0435\u043b\u044b\u0445, \u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0435 \u0434\u043b\u044f \u0447\u0435\u0440\u043d\u044b\u0445. \u0426\u0438\u0444\u0440\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0443\u0441\u0442\u044b\u0445 \u043a\u043b\u0435\u0442\u043e\u043a \u0432 \u0440\u044f\u0434\u0443, \u0438\u0434\u0443\u0449\u0438\u0445 \u043f\u043e\u0434\u0440\u044f\u0434. \u0414\u0430\u043b\u0435\u0435 \u0443 FEN-\u0441\u0442\u0440\u043e\u043a\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0438\u043f\u0438\u0441\u043a\u0438, \u043a\u0430\u0441\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0445\u043e\u0434\u0430, \u043f\u0440\u0430\u0432\u0430 \u0440\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 \u0438 \u043f\u0440\u043e\u0447\u0435\u0435, \u043d\u043e \u043e\u043d\u0438 \u043d\u0430\u0441 \u0432 \u0440\u0430\u0437\u0440\u0435\u0437\u0435 \u043d\u0430\u0448\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442.<\/p>\n<p>\u041c\u044b \u0445\u043e\u0442\u0438\u043c \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0448 \u043f\u043b\u0430\u0433\u0438\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0442\u0430\u043a: \u043c\u044b \u0432 \u0437\u0430\u043c\u0435\u0442\u043a\u0435 \u0431\u0443\u0434\u0435\u043c \u043f\u0438\u0441\u0430\u0442\u044c FEN-\u043d\u043e\u0442\u0430\u0446\u0438\u044e \u0432 \u0431\u043b\u043e\u043a\u0435 \u043a\u043e\u0434\u0430 \u0441 \u043f\u043e\u043c\u0435\u0442\u043a\u043e\u0439 <code>chess<\/code>:<\/p>\n<pre><code>```chess 8\/3k1P2\/2N5\/b7\/5K2\/4r3\/3P4\/8 ``` <\/code><\/pre>\n<p>\u0430 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0437\u0430\u043c\u0435\u0442\u043a\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u043c\u0435\u0441\u0442\u043e \u0431\u043b\u043e\u043a\u0430 \u043a\u043e\u0434\u0430 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0448\u0430\u0445\u043c\u0430\u0442\u043d\u0443\u044e \u0434\u043e\u0441\u043a\u0443 \u0441 \u0444\u0438\u0433\u0443\u0440\u0430\u043c\u0438, \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<figure class=\"\"><\/figure>\n<h2>\u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0435\u043c \u043a \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044e<\/h2>\n<p>\u0418\u0442\u0430\u043a, \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u043d\u0430\u0439\u0442\u0438 \u0432\u0441\u0435 <code>chess<\/code>-\u0431\u043b\u043e\u043a\u0438 \u0432 \u0437\u0430\u043c\u0435\u0442\u043a\u0435 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0438\u0445 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435. \u0425\u043c, \u0432\u0430\u043c \u044d\u0442\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442? \u0415\u0441\u043b\u0438 \u0432\u044b \u0447\u0438\u0442\u0430\u043b\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/861230\/\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e<\/a>, \u0442\u043e \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u0442\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u043e\u0434\u0438\u043d-\u0432-\u043e\u0434\u0438\u043d \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0441\u0430\u043c\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u0430: Guitar Tabs Viewer, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u043c\u0435\u043d\u044f\u043b &#171;\u0432\u0441\u0435 \u0442\u0438\u0440\u0435 \u043d\u0430 \u0442\u043e\u0447\u043a\u0438&#187; \u0432 \u043f\u043e\u0433\u043e\u043d\u0435 \u0437\u0430 \u0447\u0438\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e \u0433\u0438\u0442\u0430\u0440\u043d\u043e\u0439 \u0442\u0430\u0431\u0443\u043b\u0430\u0442\u0443\u0440\u044b. \u0422.\u0435. \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043e\u0442\u0442\u0443\u0434\u0430 \u043f\u043e\u0434\u0433\u043b\u044f\u0434\u0435\u0442\u044c, \u0447\u0442\u043e \u043f\u043e\u0434\u043c\u0435\u043d\u043e\u0439 HTML \u043d\u0430 \u0441\u0442\u0430\u0434\u0438\u0438 \u043f\u0440\u0435\u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u043c\u0435\u0442\u043e\u0434 <code>Plugin.registerMarkdownCodeBlockProcessor()<\/code>, \u0430 \u0437\u0430\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043a\u0430\u043a-\u0442\u043e \u0442\u0430\u043a:<\/p>\n<pre><code class=\"javascript\">class ChessLightweightPlugin extends obsidian.Plugin {     async onload() {         this.registerMarkdownCodeBlockProcessor('chess', (source, el, ctx) =&gt; {             \/\/ Render chess board             el.innerHTML = ...???         })     } } <\/code><\/pre>\n<p>\u041e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043b\u0438\u0448\u044c \u0432\u044b\u044f\u0441\u043d\u0438\u0442\u044c, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0432 <code>el.innerHTML<\/code>, \u0438 \u043f\u043b\u0430\u0433\u0438\u043d \u0431\u0443\u0434\u0435\u0442 \u0433\u043e\u0442\u043e\u0432! \u0418\u0437 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e\u0433\u043e \u2014 \u0432 <code>el.innerHTML<\/code> \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u0430 \u043b\u0435\u0436\u0430\u0442\u044c HTML-\u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0430 \u0434\u043e\u0441\u043a\u0438: \u0447\u0435\u0440\u043d\u043e-\u0431\u0435\u043b\u044b\u0435 \u043a\u043b\u0435\u0442\u043e\u0447\u043a\u0438. \u0410 \u0432 \u043a\u0430\u0436\u0434\u0443\u044e \u0438\u0437 \u043a\u043b\u0435\u0442\u043e\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0442\u0435\u043a\u0441\u0442\u043e\u043c \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0438\u043c\u0435\u044e\u0449\u0443\u044e\u0441\u044f \u0443 \u043d\u0435\u0435 \u0444\u0438\u0433\u0443\u0440\u0443.<\/p>\n<h2>HTML-\u0441\u043a\u0435\u043b\u0435\u0442<\/h2>\n<p>\u0422\u0443\u0442 \u0432 \u0434\u0435\u043b\u043e \u0432\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u0449\u0435\u043f\u043e\u0442\u043a\u0430 \u0433\u043e\u0432\u043d\u043e\u043a\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0435\u0449\u0435 \u043d\u0438\u043a\u043e\u043c\u0443 \u043d\u0435 \u043f\u043e\u043c\u0435\u0448\u0430\u043b\u0430. \u042f \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0437\u043d\u0430\u044e, \u043a\u0430\u043a \u0435\u0449\u0435 \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u043e, \u0447\u0442\u043e \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 HTML-\u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0443\u0441\u0442\u043e\u0439 \u0434\u043e\u0441\u043a\u0438, \u043a\u0440\u0435\u043f\u0438\u0442\u0435\u0441\u044c:<\/p>\n<pre><code class=\"javascript\">const boardHtml = `&lt;div class=\"board\"&gt;     &lt;div class=\"row\" id=\"row8\"&gt;         &lt;div class=\"square white\" id=\"a8\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"b8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"c8\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"d8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"e8\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"f8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"g8\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"h8\"&gt;&lt;\/div&gt;     &lt;\/div&gt;     &lt;div class=\"row\" id=\"row7\"&gt;         &lt;div class=\"square black\" id=\"a7\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"b7\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"c7\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"d7\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"e7\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"f7\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"g7\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"h7\"&gt;&lt;\/div&gt;     &lt;\/div&gt; ...     &lt;div class=\"row\" id=\"row1\"&gt;         &lt;div class=\"square black\" id=\"a1\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"b1\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"c1\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"d1\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"e1\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"f1\"&gt;&lt;\/div&gt;         &lt;div class=\"square black\" id=\"g1\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"h1\"&gt;&lt;\/div&gt;     &lt;\/div&gt; &lt;\/div&gt;` <\/code><\/pre>\n<p>\u041d\u0443 \u0432\u044b \u043f\u043e\u043d\u044f\u043b\u0438 \u2014 \u043c\u043d\u0435 \u0431\u044b\u043b\u043e \u043b\u0435\u043d\u044c \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e \u0447\u0435\u0440\u0435\u0437 JS, \u043a \u0442\u043e\u043c\u0443 \u0436\u0435 \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u043d\u0435\u043e\u0431\u044a\u044f\u0441\u043d\u0438\u043c\u0443\u044e \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u044c \u0432 \u044d\u0442\u0438\u0445 \u0432\u043e\u0441\u044c\u043c\u0438\u0434\u0435\u0441\u044f\u0442\u0438 \u0441 \u043a\u043e\u043f\u0435\u0439\u043a\u0430\u043c\u0438 \u0441\u0442\u0440\u043e\u043a\u0430\u0445 \u2014 \u0431\u0443\u0434\u0442\u043e \u043d\u0430 \u0441\u043a\u0435\u043b\u0435\u0442 \u043f\u0443\u0441\u0442\u043e\u0439 \u0434\u043e\u0441\u043a\u0438 \u0441\u043c\u043e\u0442\u0440\u044e \ud83d\ude42<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0431\u043b\u043e\u043a <code>chess<\/code>-\u043a\u043e\u0434\u0430 \u044d\u0442\u043e\u0439 \u0434\u043e\u0441\u043a\u043e\u0439:<\/p>\n<pre><code class=\"javascript\">async onload() { this.registerMarkdownCodeBlockProcessor('chess', (source, el, ctx) =&gt; { el.innerHTML = boardHtml }) } <\/code><\/pre>\n<p>\u0412\u043e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u0430\u0436\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u043c\u044b \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0437\u0430\u043c\u0435\u043d\u0438\u043b\u0438 \u043d\u0430\u0448\u0438 \u0431\u043b\u043e\u043a\u0438 \u043a\u043e\u0434\u0430 \u0432 \u0437\u0430\u043c\u0435\u0442\u043a\u0430\u0445 \u043d\u0430 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0435 <em>\u043d\u0438\u0447\u0435\u0433\u043e<\/em> \u2014 \u043f\u0443\u0441\u0442\u043e\u0442\u0443, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0443 \u043d\u0430\u0448\u0438\u0445 <code>&lt;div&gt;<\/code>&#8216;\u043e\u0432 \u0435\u0449\u0435 \u043d\u0435\u0442 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u043e\u043f\u043b\u043e\u0449\u0435\u043d\u0438\u044f.<\/p>\n<h2>CSS<\/h2>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u044d\u0442\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c. \u0423 \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 css-\u0444\u0430\u0439\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u043e\u0441\u043a\u0443:<\/p>\n<pre><code class=\"css\">body {     --cell-size: 50px; }  .board {     margin: 20px 0px 20px 0px; }  .row {     display: flex;     flex-direction: row; }  .square {     width: var(--cell-size);     height: var(--cell-size);     display: flex;     align-items: center;     justify-content: center; }  .white {     background-color: color(srgb 0.944 0.944 0.944); }  .black {     background-color: color(srgb 0.81333 0.81333 0.81333); } <\/code><\/pre>\n<p>\u041d\u0438\u0447\u0435\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e: \u0434\u0430\u0435\u043c \u043a\u043b\u0435\u0442\u043a\u0430\u043c \u0440\u0430\u0437\u043c\u0435\u0440\u044b, \u043a\u0440\u0430\u0441\u0438\u043c \u0438\u0445 \u0432 \u0441\u0432\u043e\u0438 \u0446\u0432\u0435\u0442\u0430, \u0432\u044b\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0438\u0445 \u0432 \u0440\u044f\u0434\u044b.<\/p>\n<p>\u042f \u043f\u043e-\u043d\u0430\u0447\u0430\u043b\u0443 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u044d\u0442\u0438\u0445 \u0441\u0442\u0438\u043b\u0435\u0439 \u0447\u0435\u0440\u0435\u0437 \u043e\u0431\u044b\u0447\u043d\u0443\u044e \u043f\u0430\u0440\u0443 \u0444\u0430\u0439\u043b\u043e\u0432 html-css \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435, \u0438 \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e. \u041d\u043e \u043a\u0430\u043a \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u044d\u0442\u043e\u0442 css \u0432 \u043f\u043b\u0430\u0433\u0438\u043d\u0435? \u041e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u2014 \u0432\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0435 \u0444\u0430\u0439\u043b \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <code>styles.css<\/code> (\u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c!) \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0434\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u0435 \u0435\u0433\u043e \u0432 \u043f\u0430\u043f\u043a\u0443, \u0433\u0434\u0435 \u043b\u0435\u0436\u0438\u0442 <code>main.js<\/code>. \u041d\u0438\u0447\u0435\u0433\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e, \u0441\u0442\u0438\u043b\u0438 \u043f\u043e\u0434\u0445\u0432\u0430\u0442\u044f\u0442\u0441\u044f \u0441\u0430\u043c\u0438.<\/p>\n<p>\u0414\u0435\u043b\u0430\u0435\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0437\u0430\u043c\u0435\u0442\u043a\u0435:<\/p>\n<pre><code># Two rooks mate  ```chess 8\/8\/4k3\/R7\/7R\/8\/8\/6K1 ```  ```chess 8\/4k3\/7R\/R7\/8\/8\/8\/6K1 ``` <\/code><\/pre>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c:<\/p>\n<figure class=\"\"><\/figure>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442! \u042f \u043d\u0435 \u0434\u0430\u0440\u043e\u043c \u0443\u043a\u0430\u0437\u0430\u043b \u0432 \u043a\u043b\u0430\u0441\u0441\u0435 <code>.board<\/code> \u043e\u0442\u0441\u0442\u0443\u043f\u044b \u0441\u0432\u0435\u0440\u0445\u0443 \u0438 \u0441\u043d\u0438\u0437\u0443: <code>margin: 20px 0px 20px 0px;<\/code>. \u0411\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u0434\u0432\u0435 \u0434\u043e\u0441\u043a\u0438 \u0441\u043a\u043b\u0435\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0432 \u0435\u0434\u0438\u043d\u043e\u0435 \u043f\u043e\u043b\u043e\u0442\u043d\u043e.<\/p>\n<p>\u0414\u043e\u0441\u043a\u0438 \u0440\u0438\u0441\u0443\u044e\u0442\u0441\u044f, \u043d\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 <code>chess<\/code>-\u0431\u043b\u043e\u043a\u043e\u0432 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f, \u0430 \u0441\u0430\u043c\u0438 \u0434\u043e\u0441\u043a\u0438 \u043f\u0443\u0441\u0442\u044b. \u041f\u043e\u043a\u0430 \u0447\u0442\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043c \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c FEN-\u0437\u0430\u043f\u0438\u0441\u0438 \u2014 \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0435\u0449\u0435 \u0434\u043e\u0439\u0434\u0435\u043c. \u0410 \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0430 \u0441\u043a\u043e\u0440\u0443\u044e \u0440\u0443\u043a\u0443 \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043c \u0444\u0438\u0433\u0443\u0440\u044b \u043f\u0440\u044f\u043c\u043e \u0445\u0430\u0440\u0434\u043a\u043e\u0434\u043e\u043c \u0432 HTML:<\/p>\n<pre><code class=\"javascript\">const whitesBoardHtml = `&lt;div class=\"board\"&gt;     &lt;div class=\"row\" id=\"row8\"&gt;         &lt;div class=\"square white\" id=\"a8\"&gt;\u265e&lt;\/div&gt;         &lt;div class=\"square black\" id=\"b8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"c8\"&gt;\u2657&lt;\/div&gt;         &lt;div class=\"square black\" id=\"d8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"e8\"&gt;\u265b&lt;\/div&gt;         &lt;div class=\"square black\" id=\"f8\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"g8\"&gt;\u2654&lt;\/div&gt;         &lt;div class=\"square black\" id=\"h8\"&gt;&lt;\/div&gt;     &lt;\/div&gt;     &lt;div class=\"row\" id=\"row7\"&gt;         &lt;div class=\"square black\" id=\"a7\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"b7\"&gt;\u265f&lt;\/div&gt;         &lt;div class=\"square black\" id=\"c7\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"d7\"&gt;\u265a&lt;\/div&gt;         &lt;div class=\"square black\" id=\"e7\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"f7\"&gt;\u2656&lt;\/div&gt;         &lt;div class=\"square black\" id=\"g7\"&gt;&lt;\/div&gt;         &lt;div class=\"square white\" id=\"h7\"&gt;\u265d&lt;\/div&gt;     &lt;\/div&gt; ... <\/code><\/pre>\n<p>\u0421\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/p>\n<figure class=\"\"><\/figure>\n<p>\u041c\u0430\u043b\u043e\u0432\u0430\u0442\u043e, \u043d\u0443\u0436\u043d\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430. \u0418 \u043c\u043d\u0435 \u0443\u0436\u0435 \u0432\u0438\u0434\u043d\u0435\u0435\u0442\u0441\u044f \u043d\u0435\u0447\u0442\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0435&#8230; \u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u043c:<\/p>\n<pre><code class=\"css\">.square { ...     font-size: calc(var(--cell-size) * 0.85); } <\/code><\/pre>\n<p>\u0441\u043c\u043e\u0442\u0440\u0438\u043c:<\/p>\n<figure class=\"\"><\/figure>\n<p>\u0427\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442?! \u041f\u043e\u0447\u0435\u043c\u0443 \u0447\u0435\u0440\u043d\u0430\u044f \u043f\u0435\u0448\u043a\u0430 \u0442\u0430\u043a\u0430\u044f? \u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430, \u044d\u0442\u043e <strong>\u0431\u0430\u0433 ASCII<\/strong>, \u0430 \u0442\u043e\u0447\u043d\u0435\u0435 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u0447\u0435\u0440\u043d\u043e\u0439 \u043f\u0435\u0448\u043a\u0438. \u0417\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0442\u043e\u0433\u043e, \u043a\u0442\u043e \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u0442 \u0448\u0440\u0438\u0444\u0442, \u043d\u043e \u0432 90% \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0441 \u0447\u0435\u0440\u043d\u043e\u0439 \u043f\u0435\u0448\u043a\u043e\u0439 \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0432\u043e \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0445 \u2014 \u043e\u043d\u0430 \u043a\u0440\u0443\u043f\u043d\u0435\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0438 \u0441\u0438\u043d\u044f\u044f. \u0418 \u0432 Obsidian \u0442\u043e\u0436\u0435. \u041d\u043e \u043f\u0440\u0438 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u043e\u0431\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430\u0445 \u0432\u0430\u043c \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0432\u0435\u0437\u0442\u0438. \u041c\u043d\u0435 \u0432\u043e\u0442 \u0442\u043e\u0436\u0435 \u043a\u0430\u043a-\u0442\u043e \u043f\u043e\u0432\u0435\u0437\u043b\u043e, \u0438 \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u043e\u0435:<\/p>\n<pre><code class=\"css\">.square { ...     font-family: serif; } <\/code><\/pre>\n<p>\u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e:<\/p>\n<figure class=\"\"><\/figure>\n<p>\u041f\u0435\u0448\u043a\u0430 \u043f\u0440\u0438\u0448\u043b\u0430 \u0432 \u043d\u043e\u0440\u043c\u0443. \u0421\u0442\u0440\u0430\u043d\u043d\u043e, \u043d\u043e \u043b\u0430\u0434\u043d\u043e. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 Obsidian. \u041d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<h2>\u041e\u0447\u0435\u0440\u0447\u0438\u0432\u0430\u0435\u043c \u0431\u0438\u0437\u043d\u0435\u0441-\u043b\u043e\u0433\u0438\u043a\u0443<\/h2>\n<p>\u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u043a \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0431\u0438\u0437\u043d\u0435\u0441-\u043b\u043e\u0433\u0438\u043a\u0435, \u043d\u0435\u043d\u0430\u0434\u043e\u043b\u0433\u043e \u0432\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043a \u0441\u0430\u043c\u043e\u043c\u0443 \u043f\u043b\u0430\u0433\u0438\u043d\u0443. \u041c\u044b \u0437\u043d\u0430\u0435\u043c HTML-\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0434\u043e\u0441\u043a\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u043c \u0443\u0436\u0435 \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u043a\u0430\u043a \u0432 \u043d\u0435\u0435 &#171;\u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c&#187; \u0444\u0438\u0433\u0443\u0440\u044b: \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u043f\u0438\u0441\u044b\u0432\u0430\u044f \u0432 <code>&lt;div&gt;<\/code> \u043a\u043b\u0435\u0442\u043a\u0438 \u0442\u0435\u043a\u0441\u0442 \u0441 \u0444\u0438\u0433\u0443\u0440\u043e\u0439. \u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<pre><code class=\"javascript\">async onload() { this.registerMarkdownCodeBlockProcessor('chess', (source, el, ctx) =&gt; { \/\/ Parse code const data = new BoardData(source)  \/\/ Render chess board el.innerHTML = boardHtml  \/\/ Fill chess board with pieces for (const [addr, piece] of Object.entries(data.addresses)) { const cell = el.querySelector('[id=' + addr + ']') if (cell) { cell.innerText = piece } } }) } <\/code><\/pre>\n<p>\u0421\u043c\u043e\u0442\u0440\u0438\u0442\u0435, \u043c\u044b \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0437\u0430\u043b\u043e\u0436\u0438\u043b\u0438\u0441\u044c \u043d\u0430 \u043c\u0438\u0444\u0438\u0447\u0435\u0441\u043a\u0443\u044e <code>Bo<\/code><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-440300","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/440300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=440300"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/440300\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=440300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=440300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=440300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}