No syntax highlighting / code language in code blocks on Anytype Android 0.1.0

Describe the bug

When creating a code block on Android, pressing the language dropdown doesn’t do anything making you unable to select any language. If a language has already been selected on desktop it also doesn’t show up on mobile. Syntax highlighting also doesn’t work on mobile.

To Reproduce

Steps to reproduce the behavior:

    1. View any code block on Android
    1. Try to change the language

Expected behavior

    1. A language drop down appears which you can use to select the code language
    1. Syntax highlighting is turned on for that language

Desktop (please complete the following information):

  • OS: Android 10
  • Device: OnePlus 7T
  • Version: 0.1.0
4 Likes

There is no Kotlin/Java library that we can use to implement code highlighting.

We will try to dig deeper and find a solution.

3 Likes

Will be shipped in the next release

1 Like

@gigatex, checkout Anytype Android 0.1.2!