Skip to content

4032 spacing after list items #4058

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion contribute/style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ documentation. As documentation is a collective effort, these guidelines are
intended to help all of us ensure we maintain quality and consistency across our
documentation.

### Table of Contents
1. [YAML front matter](#yaml-front-matter)
2. [Explicit header tags](#explicit-header-tags)
3. [Images](#images)
4. [Codeblocks](#codeblocks)
5. [Broken links](#broken-links)
6. [Broken anchors](#broken-anchors)
7. [Floating pages](#floating-pages)
8. [Client versioning](#client-versioning)
9. [Related blog component](#related-blog-component)
10. [Edge Cases](#edge-cases)
## YAML front matter

Begin every new Markdown document with YAML front-matter:
Expand Down Expand Up @@ -392,4 +403,4 @@ show_related_blogs: true
```

This will show it on the page, assuming there is a matching blog. If there is no
match then it remains hidden.
match then it remains hidden.
2 changes: 1 addition & 1 deletion docs/getting-started/quick-start/cloud.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ You can upload data using the following methods:
- Use the SQL console
- Use the ClickHouse client
- Upload a file - accepted formats include JSON, CSV and TSV
- Upload data from file URL
- Upload data from file URL test paragraph Upload data from file URL test paragraph Upload data from file URL test paragraph Upload data from file URL test paragraph Upload data from file URL test paragraph Upload data from file URL test paragraph Upload data from file URL test paragraph

### ClickPipes {#clickpipes}

Expand Down
10 changes: 10 additions & 0 deletions src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1423,3 +1423,13 @@ input::-ms-input-placeholder { /* Microsoft Edge */
.DocSearch-Cancel {
color: var(--docsearch-text-color) !important;
}

.custom-ul,
.custom-ol {
padding-inline-start: 2rem;
padding-block-end: 1.5rem;
}

.custom-li {
padding-inline-start: 1rem;
}
3 changes: 3 additions & 0 deletions src/theme/MDXComponents.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import VStepper from '@site/src/components/Stepper/Stepper';
// Define the enhanced components
const enhancedComponents = {
...MDXComponents,
ul: (props) => <ul className="custom-ul" {...props} />,
ol: (props) => <ol className="custom-ol" {...props} />,
li: (props) => <li className="custom-li" {...props} />,

// Map to the components expected from the remark plugin
Stepper: VStepper,
Expand Down