SchildiChat / SchildiChat-android

Matrix client / Element Android fork
https://schildi.chat/android/
Apache License 2.0
416 stars 59 forks source link

Proper syntax highlighting in code blocks #180

Open marrobHD opened 1 year ago

marrobHD commented 1 year ago

Is your feature request related to a problem? Please describe. I'm always frustrated when I sent code blocks, but they're shown unformatted and without color.

Describe the solution you'd like I'd like to have syntax highlighting as integrated in element desktop.

Describe alternatives you've considered :/

Additional context How the formatted block could look:

alias: "shutdown server"
fields:
  seconds:
    description: "Seconds until shutdown"
    example: "50"
variables:
  abcd_abcd: abcd
sequence:
  - exec: server.shutdown
    countdown: "{{ seconds }}"
SpiritCroc commented 1 year ago

Hm, I remember having a quick look at that feature, but don't remember what the outcome was... since I didn't implement it I guess I didn't find any easy-to-integrate library for that? :thinking: Open for contributions or markwon-compatible library suggestions ;)