Skip to content

Example for TextArea.code_editor with syntax highlighting from the docs is not working #4911

Answered by kostrykin
kostrykin asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, however, it looks like there are no Conda packages for textual[syntax].

I went this workaround, which works nicely. Inside my Conda environment file:

dependencies:
  - textual
  - pip
  - pip:
    - textual[syntax]

This way, textual is installed via pip, but its requirements are installed via Conda (at least those which do not come on top due to the syntax highlighting support).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kostrykin
Comment options

@TomJGooding
Comment options

@kostrykin
Comment options

Answer selected by kostrykin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants