Commit 130520fa5e9a09c53d3162ce82576f3b3544e158

Authored by Riyad Preukschas
1 parent 7b50a7c9

Reorder blocks in Markdown help

Showing 1 changed file with 10 additions and 8 deletions   Show diff stats
app/views/help/markdown.html.haml
... ... @@ -20,6 +20,15 @@
20 20 %li milestones
21 21 %li wiki pages
22 22  
  23 + .span4
  24 + .alert.alert-info
  25 + %p
  26 + If you're not already familiar with Markdown, you should spend 15 minutes and go over the excellent
  27 + %strong= link_to "Markdown Syntax Guide", "http://daringfireball.net/projects/markdown/syntax"
  28 + at Daring Fireball.
  29 +
  30 +.row
  31 + .span8
23 32 %h3 Differences from traditional Markdown
24 33  
25 34 %h4 Newlines
... ... @@ -93,12 +102,5 @@
93 102 %p For example in your #{link_to @project.name, project_path(@project)} project, writing:
94 103 %pre= "This is related to ##{issue.id}. @#{current_user.name} is working on solving it."
95 104 %p becomes:
96   - %pre= gfm "This is related to ##{issue.id}. @#{current_user.name} is working on solving it."
  105 + = markdown "This is related to ##{issue.id}. @#{current_user.name} is working on solving it."
97 106 - @project = nil # Prevent this from bubbling up to page title
98   -
99   - .span4.right
100   - .alert.alert-info
101   - %p
102   - If you're not already familiar with Markdown, you should spend 15 minutes and go over the excellent
103   - %strong= link_to "Markdown Syntax Guide", "http://daringfireball.net/projects/markdown/syntax"
104   - at Daring Fireball.
... ...