markor icon indicating copy to clipboard operation
markor copied to clipboard

Asciidoc :icons implementation

Open Pyblo opened this issue 2 years ago • 5 comments

⚠️ This issue respects the following points: ⚠️

  • [X] This is a enhancement/feature request. Not a bug or question.
  • [X] The topic is not already reported at Issues. (I've searched it).
  • [X] Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
  • [X] 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

  1. I would like for implementation of asciidoc icons icon:heart[role=red]. That would help greatly, since icons can be colored and have many great inline formating features.

It would great if the :icons: font mode worked, but having at least the :icons: svg + :iconsdir: ./icons mode worked.

Information

Android version: 11 Device: xiaomi Mi 10 lite 5g App Version: v2.11.1(148)

Source

F-Droid

Format / File type

Something else (-> Additional info)

Additional info / Log

- it is for Asciidoc format 
- currently we can use the svg image:{icon_name} as a workaround, but it lacks colouring and using it inline is not straightforward.

Pyblo avatar Nov 26 '23 23:11 Pyblo

While testing all the other icon implementation on with Asciidoctor, i noticed, that The only way to go is using :icons: font. Unfortunately all other modes display icons that are not properly sized to the text size in lines.

Pyblo avatar Nov 29 '23 19:11 Pyblo

Please feel free to work on it and create a merge request to make the improvements available to others.

gsantner avatar Dec 03 '23 13:12 gsantner

notice: @aisbergde implemented most of asciidoc support, so assume have an good idea about this too.

gsantner avatar Mar 27 '24 03:03 gsantner

I only implemented the formatting support in the editor mode (plain text). The preview was implemented by someone else. Is the request related to the preview or to the formatting while editing?

aisbergde avatar Mar 27 '24 07:03 aisbergde

If somebody is interested to implement, feel free to do so. Currently not see somebody active working on AsciiDoc. But unfortunately, it's not "do once and works forever", formats require maintainence.

gsantner avatar Jul 20 '24 11:07 gsantner