You are here

geshifilter.settings.yml in GeSHi Filter for syntax highlighting 8

Same filename and directory in other branches
  1. 8.2 config/install/geshifilter.settings.yml
config/install/geshifilter.settings.yml

File

config/install/geshifilter.settings.yml
View source
  1. # Use a specific options for each filter format.
  2. use_format_specific_options: false
  3. # Default highlighting mode when no language is set.
  4. # The default value is GeshiFilter::DEFAULT_DONOTHING.
  5. default_highlighting: 'GESHIFILTER_DEFAULT_DONOTHING'
  6. # Default line numbering.
  7. # - 0 no line numbers.
  8. default_line_numbering: 0
  9. # Use the function highlight_string for php code.
  10. use_highlight_string_for_php: false
  11. # Create links for keywords in some languages.
  12. enable_keyword_urls: true
  13. # Decode html entities.
  14. # Would be better use TRUE, but we use FALSE to keep as it work on Drupal 7.
  15. decode_entities: FALSE
  16. # Mode used for css:
  17. # - 1 Inline CSS style attributes.
  18. # - 2 Use CSS classes and an automatically managed external CSS style sheet.
  19. # - 3 Only add CSS classes to the markup.
  20. css_mode: 1
  21. # Container used in code for output.
  22. code_container: '2'
  23. # Tags used in blocks for language.
  24. tags: 'code blockcode'
  25. # Style for tags for geshifilter, example [cpp], [[cpp]], <cpp>.
  26. # - 1 <> (<cpp>).
  27. # - 2 [] ([cpp]).
  28. # - 4 [[]] ([[CPP]]).
  29. # - 8 <?PHP php block .
  30. # - 16 ```cpp Markdown code block.
  31. tag_styles:
  32. 1: 1
  33. 2: 2
  34. 4: 0
  35. 8: 0
  36. 16: 0
  37. # Tab width, the default from geshi is 8.
  38. tab_width: 8
  39. # Default languages and tags.
  40. language:
  41. php:
  42. enabled: TRUE
  43. tags: 'php'
  44. cpp:
  45. enabled: TRUE
  46. tags: 'cpp'
  47. java:
  48. enabled: TRUE
  49. tags: 'java'