Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Community Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bio-IT
Community Documentation
Commits
45eea0ef
Unverified
Commit
45eea0ef
authored
6 years ago
by
Patrick Marsceill
Browse files
Options
Downloads
Patches
Plain Diff
Add docs for lists
parent
3730de18
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/ui-components/lists.md
+98
-0
98 additions, 0 deletions
docs/ui-components/lists.md
with
98 additions
and
0 deletions
docs/ui-components/lists.md
0 → 100644
+
98
−
0
View file @
45eea0ef
---
layout
:
default
title
:
Lists
parent
:
UI Components
nav_order
:
5
---
# Lists
{:.no_toc}
## Table of contents
{: .no_toc .text-delta }
1.
TOC
{:toc}
---
Most lists can be rendered with pure markdown...
## Unordered list
<div
class=
"code-example"
markdown=
"1"
>
-
Item 1
-
Item 2
-
Item 3
_or_
*
Item 1
*
Item 2
*
Item 3
</div>
```
markdown
-
Item 1
-
Item 2
-
Item 3
_or_
*
Item 1
*
Item 2
*
Item 3
```
## Ordered list
<div
class=
"code-example"
markdown=
"1"
>
1.
Item 1
1.
Item 2
1.
Item 3
</div>
```
markdown
1.
Item 1
1.
Item 2
1.
Item 3
```
## Task list
<div
class=
"code-example"
markdown=
"1"
>
-
[ ] hello, this is a todo item
-
[ ] hello, this is another todo item
-
[x] goodbye, this item is done
</div>
```
markdown
-
[ ] hello, this is a todo item
-
[ ] hello, this is another todo item
-
[x] goodbye, this item is done
```
## Definition list
Definition lists require HTML syntax and aren't supported with the GitHub flavored markdown compiler.
<div
class=
"code-example"
markdown=
"1"
>
<dl>
<dt>
Name
</dt>
<dd>
Godzilla
</dd>
<dt>
Born
</dt>
<dd>
1952
</dd>
<dt>
Birthplace
</dt>
<dd>
Japan
</dd>
<dt>
Color
</dt>
<dd>
Green
</dd>
</dl>
</div>
```
html
<dl>
<dt>
Name
</dt>
<dd>
Godzilla
</dd>
<dt>
Born
</dt>
<dd>
1952
</dd>
<dt>
Birthplace
</dt>
<dd>
Japan
</dd>
<dt>
Color
</dt>
<dd>
Green
</dd>
</dl>
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment