BigW Consortium Gitlab

Commit 34ba4e13 by randx

Gitlab Markdown help page

parent 72c6be2d
......@@ -28,3 +28,6 @@
%li
%h5= link_to "API", help_api_path
%li
%h5= link_to "Gitlab Markdown", help_markdown_path
- bash_lexer = Pygments::Lexer[:bash]
%h3.page_title Gitlab Markdown
.back_link
= link_to help_path do
← to index
%hr
%p.slead We extend Markdown with some GITLAB specific syntax. It allows you to link to:
%ul
%li issues (#123)
%li merge request (!123)
%li commits (1234567)
%li team members (@foo)
%li snippets ($123)
%p.slead in
%ul
%li commit messages
%li notes/comments/wall posts
%li issues
%li merge requests
%li milestones
%li wiki pages
......@@ -8,7 +8,9 @@
= f.hidden_field :noteable_id
= f.hidden_field :noteable_type
= f.text_area :note, :size => 255
%p.hint Markdown is enabled.
%p.hint
= link_to "Gitlab Markdown", help_markdown_path, :target => '_blank'
is enabled.
.row.note_advanced_opts.hide
.span4
......@@ -31,5 +33,4 @@
.input= f.file_field :attachment, :class => "input-file"
%span Any file less than 10 MB
= f.submit 'Add Comment', :class => "btn primary submit_note", :id => "submit_note"
......@@ -29,6 +29,7 @@ Gitlab::Application.routes.draw do
get 'help/api' => 'help#api'
get 'help/web_hooks' => 'help#web_hooks'
get 'help/system_hooks' => 'help#system_hooks'
get 'help/markdown' => 'help#markdown'
#
# Admin Area
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment