Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
howtos:geany_and_django [2014/02/02 10:35] enricohowtos:geany_and_django [2014/02/02 10:49] (current) – Add an example for fne tuned styling enrico
Line 46: Line 46:
 will be styled with //python_identifier// and the spaces between with will be styled with //python_identifier// and the spaces between with
 //python_default//. //python_default//.
 +
 +Example:
 +
 +<file ini ~/.config/geany/filedefs/filetypes.html>
 +[styling]
 +# foreground;background;bold;italic or named_style,bold,italic
 +html_asp=#ff0000
 +python_identifier=keyword_1,italic
 +python_default=default
 +</file>
 +
 +The example above makes ''{%'' and ''%}'' styled in red (#ff0000) and the words in between will be styled with the named-style //keyword_1// (which is by default dark blue) and renders it in italic.
 +
  
 For more information about configuring styles, please check the manual [[http://www.geany.org/manual/current/index.html#filetype-configuration|Geany manual, section Filetype configuration]]. For more information about configuring styles, please check the manual [[http://www.geany.org/manual/current/index.html#filetype-configuration|Geany manual, section Filetype configuration]].
Print/export