Method: Styles.menu

Defined in:
lib/xiki/styles.rb


3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/xiki/styles.rb', line 3

def self.menu

  '
  - .font size/
  - .list faces/
  - api/
    > Summary
    | How to use the Styles class.  You can change the color and font of text.
    | You define styles, then make them apply to the text that matches
    | regular expression.
    |
    > Define
    | Styles.define :red, :bg => "d77"
    |
    > Apply
    | Styles.apply "apply", :red
    |
    > Define more complex font
    | Styles.define :blueish,
    |   :fg => "99e",
    |   :face => "verdana",
    |   :size => 90,
    |   :bold => true
    |
    > See
    | For styling specific text (not just a pattern):
    <<< @overlay/
  - see/
    <<< @css/list/
    <<< @themes/
  '
  #       > Apply multiple fonts and groups

end