Skip to content

Commit 9118f6f

Browse files
committed
adding link to markdown formatting
1 parent 7febf41 commit 9118f6f

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

views/content/show.haml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
%label{:for => "comment_body"} Body
3838
%br
3939
%textarea{:id => "comment_body", :name => "comment[body]", :rows => 20, :cols => 50}
40+
%br/
41+
Comments are formatted via
42+
%a{:href => "http://daringfireball.net/projects/markdown/syntax"} Markdown
4043
%br
4144
%input{:type => "submit", :value => "Submit", :class => "button"}
4245
%br/

views/stream.haml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
%textarea#post{ :name => "content[body]" }
4747
%input{ :name => "content[type]", :type => "hidden", :value => "post"}/
4848
%br/
49+
Comments are formatted via
50+
%a{:href => "http://daringfireball.net/projects/markdown/syntax"} Markdown
51+
%br/
4952
%input.button{:type => "submit"}
5053
%form#question_form{:action => "/content", :style => "display:none", :method => "POST"}
5154
%label{:for => "question"} Ask a question
@@ -54,6 +57,9 @@
5457
%textarea#question{:name => "content[body]"}
5558
%input{ :name => "content[type]", :type => "hidden", :value => "question"}/
5659
%br/
60+
Comments are formatted via
61+
%a{:href => "http://daringfireball.net/projects/markdown/syntax"} Markdown
62+
%br/
5763
%input.button{:type => "submit"}
5864
.span-18
5965
%h2 Here's what everyone else is up to!

0 commit comments

Comments
 (0)