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
146b55c9
Commit
146b55c9
authored
Mar 23, 2019
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add .md to immediate parent of Markdown content
parent
6ce05643
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
7 deletions
+6
-7
app/assets/javascripts/notes/components/note_body.vue
app/assets/javascripts/notes/components/note_body.vue
+0
-1
app/assets/javascripts/vue_shared/components/content_viewer/viewers/markdown_viewer.vue
...red/components/content_viewer/viewers/markdown_viewer.vue
+2
-2
app/assets/javascripts/vue_shared/components/markdown/field.vue
...sets/javascripts/vue_shared/components/markdown/field.vue
+1
-1
app/assets/javascripts/vue_shared/components/markdown/suggestions.vue
...avascripts/vue_shared/components/markdown/suggestions.vue
+1
-1
app/assets/javascripts/vue_shared/components/notes/placeholder_note.vue
...ascripts/vue_shared/components/notes/placeholder_note.vue
+1
-1
app/assets/javascripts/vue_shared/components/notes/system_note.vue
...s/javascripts/vue_shared/components/notes/system_note.vue
+1
-1
No files found.
app/assets/javascripts/notes/components/note_body.vue
View file @
146b55c9
...
@@ -95,7 +95,6 @@ export default {
...
@@ -95,7 +95,6 @@ export default {
<div
ref=
"note-body"
:class=
"
{ 'js-task-list-container': canEdit }" class="note-body">
<div
ref=
"note-body"
:class=
"
{ 'js-task-list-container': canEdit }" class="note-body">
<suggestions
<suggestions
v-if=
"hasSuggestion && !isEditing"
v-if=
"hasSuggestion && !isEditing"
class=
"note-text md"
:suggestions=
"note.suggestions"
:suggestions=
"note.suggestions"
:note-html=
"note.note_html"
:note-html=
"note.note_html"
:line-type=
"lineType"
:line-type=
"lineType"
...
...
app/assets/javascripts/vue_shared/components/content_viewer/viewers/markdown_viewer.vue
View file @
146b55c9
...
@@ -78,8 +78,8 @@ export default {
...
@@ -78,8 +78,8 @@ export default {
</
script
>
</
script
>
<
template
>
<
template
>
<div
ref=
"markdown-preview"
class=
"md
md
-previewer"
>
<div
ref=
"markdown-preview"
class=
"md-previewer"
>
<gl-skeleton-loading
v-if=
"isLoading"
/>
<gl-skeleton-loading
v-if=
"isLoading"
/>
<div
v-else
v-html=
"previewContent"
></div>
<div
v-else
class=
"md"
v-html=
"previewContent"
></div>
</div>
</div>
</
template
>
</
template
>
app/assets/javascripts/vue_shared/components/markdown/field.vue
View file @
146b55c9
...
@@ -215,7 +215,7 @@ export default {
...
@@ -215,7 +215,7 @@ export default {
<div
<div
v-show=
"previewMarkdown"
v-show=
"previewMarkdown"
ref=
"markdown-preview"
ref=
"markdown-preview"
class=
"md-preview js-vue-md-preview md
md
-preview-holder"
class=
"md-preview js-vue-md-preview md-preview-holder"
>
>
<suggestions
<suggestions
v-if=
"hasSuggestion"
v-if=
"hasSuggestion"
...
...
app/assets/javascripts/vue_shared/components/markdown/suggestions.vue
View file @
146b55c9
...
@@ -130,6 +130,6 @@ export default {
...
@@ -130,6 +130,6 @@ export default {
<
template
>
<
template
>
<div>
<div>
<div
class=
"flash-container js-suggestions-flash"
></div>
<div
class=
"flash-container js-suggestions-flash"
></div>
<div
v-show=
"isRendered"
ref=
"container"
v-html=
"noteHtml"
></div>
<div
v-show=
"isRendered"
ref=
"container"
class=
"md"
v-html=
"noteHtml"
></div>
</div>
</div>
</
template
>
</
template
>
app/assets/javascripts/vue_shared/components/notes/placeholder_note.vue
View file @
146b55c9
...
@@ -57,7 +57,7 @@ export default {
...
@@ -57,7 +57,7 @@ export default {
</div>
</div>
</div>
</div>
<div
class=
"note-body"
>
<div
class=
"note-body"
>
<div
class=
"note-text"
>
<div
class=
"note-text
md
"
>
<p>
{{
note
.
body
}}
</p>
<p>
{{
note
.
body
}}
</p>
</div>
</div>
</div>
</div>
...
...
app/assets/javascripts/vue_shared/components/notes/system_note.vue
View file @
146b55c9
...
@@ -93,7 +93,7 @@ export default {
...
@@ -93,7 +93,7 @@ export default {
'system-note-commit-list': hasMoreCommits,
'system-note-commit-list': hasMoreCommits,
'hide-shade': expanded,
'hide-shade': expanded,
}"
}"
class="note-text"
class="note-text
md
"
v-html="note.note_html"
v-html="note.note_html"
>
</div>
>
</div>
<div
v-if=
"hasMoreCommits"
class=
"flex-list"
>
<div
v-if=
"hasMoreCommits"
class=
"flex-list"
>
...
...
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