PyCharm 2018.1 Help

Markup Languages and Style Sheets

Supported markup and template languages

PyCharm supports editing of files in the following markup and template languages:

The markup languages and Style Sheets are integrated into PyCharm and can use the most powerful editing features:

All these features work if PyCharm successfully locates the DTD or schema file. In this case, all the files are validated against the DTD or schema, and the editing conveniences become available. Without a DTD or schema, only the well-formedness check is possible.

Parsing Web contents

PyCharm parses Web contents files according to the following specifications:

  • HTML: specification is configurable in the Default HTML language level in the Schemas and DTDs page of the Settings/Preferences dialog. By default, specification HTML 5.0 from W3C is assumed.
  • CSS: specification CSS 3.0. The most common selectors are supported: universal selector *, type selectors .a, descendant selectors .a.b, child selectors .a .b, ID selectors #b, pseudo-classes and class selectors DIV.warning.
  • PyCharm uses Xerces 2.11, an XML parser developed by Apache Software Foundation Group.
Last modified: 27 June 2018

See Also