diff options
Diffstat (limited to 'spec/frontend/fixtures/api_markdown.yml')
-rw-r--r-- | spec/frontend/fixtures/api_markdown.yml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/spec/frontend/fixtures/api_markdown.yml b/spec/frontend/fixtures/api_markdown.yml new file mode 100644 index 00000000000..a83d5374e2c --- /dev/null +++ b/spec/frontend/fixtures/api_markdown.yml @@ -0,0 +1,50 @@ +# This data file drives the specs in +# spec/frontend/fixtures/api_markdown.rb and +# spec/frontend/rich_text_editor/extensions/markdown_processing_spec.js +--- +- name: bold + markdown: '**bold**' +- name: emphasis + markdown: '_emphasized text_' +- name: inline_code + markdown: '`code`' +- name: link + markdown: '[GitLab](https://gitlab.com)' +- name: code_block + markdown: |- + ```javascript + console.log('hello world') + ``` +- name: headings + markdown: |- + # Heading 1 + + ## Heading 2 + + ### Heading 3 + + #### Heading 4 + + ##### Heading 5 + + ###### Heading 6 +- name: blockquote + markdown: |- + > This is a blockquote + > + > This is another one +- name: thematic_break + markdown: |- + --- +- name: bullet_list + markdown: |- + * list item 1 + * list item 2 + * embedded list item 3 +- name: ordered_list + markdown: |- + 1. list item 1 + 2. list item 2 + 3. list item 3 +- name: image + markdown: '![alt text](https://gitlab.com/logo.png)' |