Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
34ba4e13
Commit
34ba4e13
authored
Aug 03, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gitlab Markdown help page
parent
72c6be2d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
2 deletions
+32
-2
app/views/help/index.html.haml
app/views/help/index.html.haml
+3
-0
app/views/help/markdown.html.haml
app/views/help/markdown.html.haml
+25
-0
app/views/notes/_form.html.haml
app/views/notes/_form.html.haml
+3
-2
config/routes.rb
config/routes.rb
+1
-0
No files found.
app/views/help/index.html.haml
View file @
34ba4e13
...
@@ -28,3 +28,6 @@
...
@@ -28,3 +28,6 @@
%li
%li
%h5
=
link_to
"API"
,
help_api_path
%h5
=
link_to
"API"
,
help_api_path
%li
%h5
=
link_to
"Gitlab Markdown"
,
help_markdown_path
app/views/help/markdown.html.haml
0 → 100644
View file @
34ba4e13
-
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
app/views/notes/_form.html.haml
View file @
34ba4e13
...
@@ -8,7 +8,9 @@
...
@@ -8,7 +8,9 @@
=
f
.
hidden_field
:noteable_id
=
f
.
hidden_field
:noteable_id
=
f
.
hidden_field
:noteable_type
=
f
.
hidden_field
:noteable_type
=
f
.
text_area
:note
,
:size
=>
255
=
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
.row.note_advanced_opts.hide
.span4
.span4
...
@@ -31,5 +33,4 @@
...
@@ -31,5 +33,4 @@
.input
=
f
.
file_field
:attachment
,
:class
=>
"input-file"
.input
=
f
.
file_field
:attachment
,
:class
=>
"input-file"
%span
Any file less than 10 MB
%span
Any file less than 10 MB
=
f
.
submit
'Add Comment'
,
:class
=>
"btn primary submit_note"
,
:id
=>
"submit_note"
=
f
.
submit
'Add Comment'
,
:class
=>
"btn primary submit_note"
,
:id
=>
"submit_note"
config/routes.rb
View file @
34ba4e13
...
@@ -29,6 +29,7 @@ Gitlab::Application.routes.draw do
...
@@ -29,6 +29,7 @@ Gitlab::Application.routes.draw do
get
'help/api'
=>
'help#api'
get
'help/api'
=>
'help#api'
get
'help/web_hooks'
=>
'help#web_hooks'
get
'help/web_hooks'
=>
'help#web_hooks'
get
'help/system_hooks'
=>
'help#system_hooks'
get
'help/system_hooks'
=>
'help#system_hooks'
get
'help/markdown'
=>
'help#markdown'
#
#
# Admin Area
# Admin Area
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment