Open toolonely opened 6 months ago
I think this is niche and outside markor's scope.
Your best bet is to include the Fen string in a formatted link. Automatically detecting it is too hard and prone to errors.
I would be open to add i.e. a .js file which does the rendering of FEN in whatever way in View-Mode. However I'm not really keen on adding a full format for this (no own file format option, no own highlighting, no own format classes etc).
Looks like! Not sure about dependencies and if you can easy make it i.e. one javascript file.
I don't know what this action means, but to avoid misunderstandings, I have to say that that this feature request is from a pure end user perspective, thus doesn't imply any technical commitments due to my incompetence. I am trying to find a way to visualize FEN strings in vim on desktop and I made this suggestion hoping that oneday I'll be able to use my chess notes in Markor as well on Android.
⚠️ This issue respects the following points: ⚠️
Description
I would like Markor to become FEN-aware.
Something a la https://python-chess.readthedocs.io/en/latest/svg.html#chess.svg.board would be nice, as in whenever a document contains a FEN string, Markor could detect it and render a chess board image that is displayed. However, I imagine this would require adding more chess related library dependencies and shift Makor's focus from a general purpose text editor (albeit it already supports multiple niche things other than plain text / markdown format, most notable probably being todo.txt).
I'd be happy with Markor just detecting a FEN string, displaying it as link and letting me open it via sharing in a chess app (configured through Markor's settings) that is FEN aware, DroidFish for example.
Information
Android version: MIUI
Source
F-Droid
Format / File type
Something else (-> Additional info)
Additional info / Log
No response