Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format: FEN (chess board game related) #2241

Closed
4 tasks done
toolonely opened this issue Mar 18, 2024 · 6 comments · Fixed by #2439
Closed
4 tasks done

Format: FEN (chess board game related) #2241

toolonely opened this issue Mar 18, 2024 · 6 comments · Fixed by #2439

Comments

@toolonely
Copy link

toolonely commented Mar 18, 2024

⚠️ This issue respects the following points: ⚠️

  • This is a enhancement/feature request. Not a bug or question.
  • The topic is not already reported at Issues. (I've searched it).
  • Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
  • The wanted feature/enhancement is not present in the latest development version (git master). (Please download and try the test version of Markor, named Marder. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor's settings are not touched. If your desired feature is present, you don't need to open this issue. The change will be part of the next Markor update.)

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

@harshad1
Copy link
Collaborator

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.

@gsantner
Copy link
Owner

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).

@gsantner gsantner changed the title Make Markor FEN-aware Format: FEN (chess board game related) Mar 27, 2024
@toolonely
Copy link
Author

@gsantner
Copy link
Owner

gsantner commented Mar 27, 2024 via email

@toolonely
Copy link
Author

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.

@gsantner
Copy link
Owner

Hello,

I add registration of .fen extension in #2439. This means .fen files will be opened in Markor texteditor with plaintext tools.

As you see nobody else shown interest on this topic. Apart of interest to implement, there also needs somebody to maintain it after introduction. I see neither to be the case hence more sophisticated support like chess rendering is unlikely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants