mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-06 08:57:14 -04:00
Add link to Chroma project in style docs
This commit is contained in:
committed by
Christian Muehlhaeuser
parent
c868abeeec
commit
5c62b67e26
+11
-9
@@ -465,15 +465,17 @@ The `code_block` element represents a block of code.
|
|||||||
|
|
||||||
### Attributes
|
### Attributes
|
||||||
|
|
||||||
| Attribute | Value | Description |
|
| Attribute | Value | Description |
|
||||||
| ---------------- | ------ | ----------------------------------------------------- |
|
| ---------------- | ------ | ----------------------------------------------------- |
|
||||||
| prefix | string | Printed before a code block |
|
| prefix | string | Printed before a code block |
|
||||||
| suffix | string | Printed after a code block |
|
| suffix | string | Printed after a code block |
|
||||||
| indent | number | Specifies the indentation of code blocks |
|
| indent | number | Specifies the indentation of code blocks |
|
||||||
| margin | number | Specifies the margin around code blocks |
|
| margin | number | Specifies the margin around code blocks |
|
||||||
| theme | string | Defines the chroma theme used for syntax highlighting |
|
| theme | string | Defines the [Chroma][chroma] theme used for syntax highlighting |
|
||||||
| color | color | Defines the default text color for code blocks |
|
| color | color | Defines the default text color for code blocks |
|
||||||
| background_color | color | Defines the default background color for code blocks |
|
| background_color | color | Defines the default background color for code blocks |
|
||||||
|
|
||||||
|
[chroma]: https://github.com/alecthomas/chroma
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user