question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

python render partial italic

See original GitHub issue

image

as you can see, for in clause is not font consistent that for italic and in is normal. at a word, what i need is normal font everywhere except comment.

Any suggestion? Thanks

extension version: 2.16.5 vscode version: 1.27.2 OS: Ubuntu 16.04.5 LTS / Ubuntu 18.04.1 LTS

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:20 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
raytroopcommented, Sep 16, 2018

work like a charm @Binaryify @beastdestroyer

{
      "name": "Python Keyword Control",
      "scope": "keyword.control.import.python,keyword.control.flow.python",
      "settings": {
        "fontStyle": "normal"
      }
    }
2reactions
mskeltoncommented, Jan 19, 2019

@stevencollinscn You don’t change the syntax.json file. You need to change the settings in your settings.json file using the information from syntax.json.

From your screenshot the code would be as follows:

"editor.tokenColorCustomizations": {
  "textMateRules": [
    {
      "name": "Python Keyword Control",
      "scope": [
        "keyword.control.import.python"
        "keyword.control.flow.python"
      ],
      "settings": {
        "fontStyle": ""
      }
    }
  ]
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Django, best way to render italics in html for empty text field
Django, best way to render italics in html for empty text field · In case you render HTML · In case of a...
Read more >
Working with Text — python-docx 0.8.11 documentation
A tab stop determines the rendering of a tab character in the text of a paragraph. ... Examples include font typeface and size,...
Read more >
Writing mathematical expressions - Matplotlib
The default font is italics for mathematical symbols. ... This default can be changed using rcParams["mathtext.default"] (default: 'it' ). This is useful, for ......
Read more >
python-docx Documentation - Read the Docs
This method returns a reference to a paragraph, newly added paragraph at the end of the document. The new paragraph.
Read more >
django-render-partial 0.4 - PyPI
Installation. pip install django_render_partial. Add 'django_render_partial' to INSTALLED_APPS. Ensure that 'django.template.context_processors.request' is ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found