Skip to content

Codes in f-string are not highlighted in Python 3 Notebook. #2881

@wotsushi

Description

@wotsushi

Abstract

It would be nice if codes in f-string are highlighted in Python 3 Notebook.

Steps to reproduce

Jupyter Notebook version: 5.1

  1. Open a Python 3 Notebook.
  2. Insert a code cell.
  3. Input f'{list(map(lambda x: 2 * x, [1, 2, 3]))}' into the inserted cell.

Actual Result

Codes in f-string are not highlighted as follows:
2017-09-30 15 23 01

Expected Result

Codes in f-string are highlighted like follows:
2017-09-30 15 21 48

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions