GithubHelp home page GithubHelp logo

eronnen / vscode-markdown-chess Goto Github PK

View Code? Open in Web Editor NEW
66.0 3.0 2.0 5.75 MB

Chess boards in vscode markdown viewer

Home Page: https://marketplace.visualstudio.com/items?itemName=eronnen.vscode-markdown-chess

License: GNU General Public License v3.0

TypeScript 86.36% CSS 2.86% SCSS 10.78%
chess lichess markdown vscode vscode-extension

vscode-markdown-chess's People

Contributors

dependabot[bot] avatar eronnen avatar hauva69 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

hauva69 chai2010

vscode-markdown-chess's Issues

Feature Request: Support PGN style in moves option

Hi,

Currently, moves values is a list of moves, without the move number: e4 c5 Cf3 e6 d4 cxd4 Cxd4 a6

In PGN, the moves are prefixed by the move number: 1. e4 c5 2. Cf3 e6 3. d4 cxd4 4. Cxd4 a6

It could be great to support both notation in the moves block

Hint: filtering values that contains a . would work ;)

Colored Arrows and squares?

Hi,

1

I noticed by accident that Ctrl+Click+Drag results in a different color than just Click+Drag. (Same with alt).

image

However, when I click "Copy" and paste into the md all the arrows and squares return to just green.

fen: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
arrows: e2->e4 d2->d4 c2->c4 c7->c5 d7->d5 e7->e5 f2->f4 f7->f5
squares: h5 a4 a5 h4 g5 g4 b5 b4

Is there a way to change the color of arrows and squares in the notation?

2

Also, while I'm here, I find the copy button doesn't have a newline character between each attribute.
For example;

This is a raw copy and paste:

fen: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1arrows: e2->e4 d2->d4 c2->c4 c7->c5 d7->d5 e7->e5 f2->f4 f7->f5squares: h5 a4 a5 h4 g5 g4 b5 b4

It would be nice if it was pasted with the correct formatting of:

fen: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
arrows: e2->e4 d2->d4 c2->c4 c7->c5 d7->d5 e7->e5 f2->f4 f7->f5
squares: h5 a4 a5 h4 g5 g4 b5 b4

Thank you

But all that said, thank you very much for this plugin.

One last question, is this notation shared with other markdown renderers? or is this a custom notation?

Thanks again

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.