mirror of https://github.com/jpanther/congo.git
Compare commits
42 Commits
99e66a9032
...
87df178577
Author | SHA1 | Date |
---|---|---|
Azkellas | 87df178577 | |
James Panther | d7f270ef1a | |
James Panther | a8ec541a7e | |
James Panther | 8bde58a79c | |
James Panther | 38dbb52f6d | |
James Panther | 8c4831f23d | |
James Panther | 9c54b590ec | |
James Panther | 99618781bc | |
James Panther | 928aa0ed51 | |
James Panther | 6cfbf4d946 | |
James Panther | 2001d17a55 | |
James Panther | 84a99f1f34 | |
James Panther | 313ed046e8 | |
James Panther | 0083219c59 | |
Wen Junhua | 77a0f60b6f | |
Wen Junhua | f0288c6106 | |
Wen Junhua | b2319886c9 | |
James Panther | 6cb5dde1dd | |
Wen Junhua | 9a91dd93ce | |
Wen Junhua | 56616242d3 | |
Wen Junhua | aa3a3c6504 | |
Wen Junhua | 9f7047e662 | |
Wen Junhua | 444f3175aa | |
Wen Junhua | 3219dfac76 | |
James Panther | 0ac3f0e9d2 | |
Wen Junhua | baada03dd9 | |
Wen Junhua | fa8cc5782a | |
Wen Junhua | f3125a6e75 | |
Wen Junhua | cb37292b9f | |
Wen Junhua | 2b63687c51 | |
Wen Junhua | 8437ea3eb2 | |
Wen Junhua | 0f7a3bec71 | |
Wen Junhua | a12d3f8e5b | |
Wen Junhua | 71cc97b4bb | |
Wen Junhua | f2da0e6ae7 | |
Wen Junhua | 4aa27418b1 | |
Ryan Gibson | 00ac16f3ad | |
dependabot[bot] | b314c40312 | |
dependabot[bot] | 747c995c04 | |
sussan0416 | dea1975e33 | |
Denis Koshelev | da0ea762d0 | |
Etienne | 98892944c4 |
|
@ -1,6 +1,7 @@
|
||||||
i18n:
|
i18n:
|
||||||
- i18n/*
|
- changed-files:
|
||||||
|
- any-glob-to-any-file: i18n/*
|
||||||
|
|
||||||
documentation:
|
documentation:
|
||||||
- "*.md"
|
- changed-files:
|
||||||
- exampleSite/content/*
|
- any-glob-to-any-file: '**/*.md'
|
||||||
|
|
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -12,7 +12,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
- Automatic support for WebP images ([#693](https://github.com/jpanther/congo/pull/693))
|
- Automatic support for WebP images ([#693](https://github.com/jpanther/congo/pull/693))
|
||||||
- Warning when building if links to Markdown files cannot be resolved ([#691](https://github.com/jpanther/congo/pull/691))
|
- Warning when building if links to Markdown files cannot be resolved ([#691](https://github.com/jpanther/congo/pull/691))
|
||||||
- Ability to share articles to Telegram and Line ([#719](https://github.com/jpanther/congo/pull/719))
|
- Ability to share articles to Telegram and Line ([#719](https://github.com/jpanther/congo/pull/719))
|
||||||
- New icon for `line`([#719](https://github.com/jpanther/congo/pull/719))
|
- New icons for `line`, `google-scholar`, `mendeley` and `weibo` ([#719](https://github.com/jpanther/congo/pull/719), [#755](https://github.com/jpanther/congo/pull/755), [#756](https://github.com/jpanther/congo/pull/756))
|
||||||
|
- Weibo sharing links ([#756](https://github.com/jpanther/congo/pull/756))
|
||||||
|
- Table of contents will now scroll if taller than the browser height ([#733](https://github.com/jpanther/congo/pull/733))
|
||||||
- Korean translation ([#731](https://github.com/jpanther/congo/pull/731))
|
- Korean translation ([#731](https://github.com/jpanther/congo/pull/731))
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
@ -21,15 +23,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
- ⚠️ Author params block in language configuration has been moved to `params.author` ([#704](https://github.com/jpanther/congo/pull/704))
|
- ⚠️ Author params block in language configuration has been moved to `params.author` ([#704](https://github.com/jpanther/congo/pull/704))
|
||||||
- Refactored image logic into a new `picture.html` partial ([#693](https://github.com/jpanther/congo/pull/693))
|
- Refactored image logic into a new `picture.html` partial ([#693](https://github.com/jpanther/congo/pull/693))
|
||||||
- Upgrade to ChartJS v4.4.1 ([#736](https://github.com/jpanther/congo/pull/736))
|
- Upgrade to ChartJS v4.4.1 ([#736](https://github.com/jpanther/congo/pull/736))
|
||||||
- Upgrade to Tailwind v3.3.6 ([#737](https://github.com/jpanther/congo/pull/737))
|
- Upgrade to Tailwind v3.3.7 ([#737](https://github.com/jpanther/congo/pull/737), [#752](https://github.com/jpanther/congo/pull/752))
|
||||||
|
- Updated Japanese translation ([#750](https://github.com/jpanther/congo/pull/750))
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Hamburger menu is not dismissed when links are clicked ([#705](https://github.com/jpanther/congo/pull/705))
|
- Hamburger menu is not dismissed when links are clicked ([#705](https://github.com/jpanther/congo/pull/705))
|
||||||
|
- KaTeX, table and code elements wider than the page are not formatted correctly ([#753](https://github.com/jpanther/congo/pull/753))
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
- Fathom Analytics custom domain parameter as this is no longer supported by Fathom
|
- Fathom Analytics custom domain parameter, as this is no longer supported by Fathom
|
||||||
|
|
||||||
## [2.7.6] - 2023-11-26
|
## [2.7.6] - 2023-11-26
|
||||||
|
|
||||||
|
@ -100,6 +104,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
- Spanish translation of example site samples ([#606](https://github.com/jpanther/congo/pull/606))
|
- Spanish translation of example site samples ([#606](https://github.com/jpanther/congo/pull/606))
|
||||||
- Japanese translation of docs and example site ([#618](https://github.com/jpanther/congo/pull/618))
|
- Japanese translation of docs and example site ([#618](https://github.com/jpanther/congo/pull/618))
|
||||||
- German translation of example site ([#631](https://github.com/jpanther/congo/pull/631))
|
- German translation of example site ([#631](https://github.com/jpanther/congo/pull/631))
|
||||||
|
- Properly render KaTeX formulas by adding `block` or `inline` parameter to `katex` shortcode [#634](https://github.com/jpanther/congo/pull/634)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*! Congo v2.7.6 | MIT License | https://github.com/jpanther/congo */
|
/*! Congo v2.7.6 | MIT License | https://github.com/jpanther/congo */
|
||||||
|
|
||||||
/*! tailwindcss v3.3.6 | MIT License | https://tailwindcss.com */
|
/*! tailwindcss v3.3.7 | MIT License | https://tailwindcss.com */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
||||||
|
@ -1137,6 +1137,12 @@ body:has(#menu-controller:checked) {
|
||||||
|
|
||||||
/* Table of Contents */
|
/* Table of Contents */
|
||||||
|
|
||||||
|
.toc {
|
||||||
|
max-height: 100vh;
|
||||||
|
overflow-y: auto;
|
||||||
|
padding-bottom: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
.toc ul,
|
.toc ul,
|
||||||
.toc li {
|
.toc li {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
|
@ -1182,8 +1188,8 @@ body:has(#menu-controller:checked) {
|
||||||
.copy-button {
|
.copy-button {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0px;
|
|
||||||
top: 0px;
|
top: 0px;
|
||||||
|
right: 0px;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
width: 5rem;
|
width: 5rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
@ -1231,6 +1237,28 @@ body:has(#menu-controller:checked) {
|
||||||
opacity: 0.05;
|
opacity: 0.05;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Fix long KaTeX equations on mobile (see https://katex.org/docs/issues.html#css-customization) */
|
||||||
|
|
||||||
|
.katex-display {
|
||||||
|
overflow: auto hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Fix long tables breaking out of article on mobile */
|
||||||
|
|
||||||
|
table {
|
||||||
|
display: block;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Fix long inline code sections breaking out of article on mobile */
|
||||||
|
|
||||||
|
code {
|
||||||
|
word-wrap: break-word;
|
||||||
|
/* All browsers since IE 5.5+ */
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
/* Renamed property in CSS3 draft spec */
|
||||||
|
}
|
||||||
|
|
||||||
/* -- Chroma Highlight -- */
|
/* -- Chroma Highlight -- */
|
||||||
|
|
||||||
/* Background */
|
/* Background */
|
||||||
|
|
|
@ -59,9 +59,15 @@ body:has(#menu-controller:checked) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Table of Contents */
|
/* Table of Contents */
|
||||||
|
.toc {
|
||||||
|
max-height: 100vh;
|
||||||
|
overflow-y: auto;
|
||||||
|
padding-bottom: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
.toc ul,
|
.toc ul,
|
||||||
.toc li {
|
.toc li {
|
||||||
@apply list-none px-0 leading-snug;
|
@apply px-0 leading-snug list-none;
|
||||||
}
|
}
|
||||||
.toc ul ul {
|
.toc ul ul {
|
||||||
@apply ps-4;
|
@apply ps-4;
|
||||||
|
@ -84,7 +90,7 @@ body:has(#menu-controller:checked) {
|
||||||
@apply visible;
|
@apply visible;
|
||||||
}
|
}
|
||||||
.copy-button {
|
.copy-button {
|
||||||
@apply invisible absolute right-0 top-0 z-10 w-20 cursor-pointer whitespace-nowrap rounded-bl-md rounded-tr-md bg-neutral-200 py-1 font-mono text-sm text-neutral-700 opacity-90 dark:bg-neutral-600 dark:text-neutral-200;
|
@apply absolute top-0 right-0 z-10 invisible w-20 py-1 font-mono text-sm cursor-pointer whitespace-nowrap rounded-bl-md rounded-tr-md bg-neutral-200 text-neutral-700 opacity-90 dark:bg-neutral-600 dark:text-neutral-200;
|
||||||
}
|
}
|
||||||
.copy-button:hover,
|
.copy-button:hover,
|
||||||
.copy-button:focus,
|
.copy-button:focus,
|
||||||
|
@ -96,23 +102,40 @@ body:has(#menu-controller:checked) {
|
||||||
@apply absolute -z-10 opacity-5;
|
@apply absolute -z-10 opacity-5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Fix long KaTeX equations on mobile (see https://katex.org/docs/issues.html#css-customization) */
|
||||||
|
.katex-display {
|
||||||
|
overflow: auto hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Fix long tables breaking out of article on mobile */
|
||||||
|
table {
|
||||||
|
display: block;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Fix long inline code sections breaking out of article on mobile */
|
||||||
|
code {
|
||||||
|
word-wrap: break-word; /* All browsers since IE 5.5+ */
|
||||||
|
overflow-wrap: break-word; /* Renamed property in CSS3 draft spec */
|
||||||
|
}
|
||||||
|
|
||||||
/* -- Chroma Highlight -- */
|
/* -- Chroma Highlight -- */
|
||||||
/* Background */
|
/* Background */
|
||||||
.chroma {
|
.chroma {
|
||||||
@apply rounded-md bg-neutral-50 py-3 text-neutral-700 dark:bg-neutral-700 dark:text-neutral-200;
|
@apply py-3 rounded-md bg-neutral-50 text-neutral-700 dark:bg-neutral-700 dark:text-neutral-200;
|
||||||
}
|
}
|
||||||
.chroma pre {
|
.chroma pre {
|
||||||
@apply m-0 p-0;
|
@apply p-0 m-0;
|
||||||
}
|
}
|
||||||
/* LineTable */
|
/* LineTable */
|
||||||
.chroma .lntable {
|
.chroma .lntable {
|
||||||
@apply m-0 block w-auto overflow-auto text-base;
|
@apply block w-auto m-0 overflow-auto text-base;
|
||||||
}
|
}
|
||||||
/* LineNumbersTable */
|
/* LineNumbersTable */
|
||||||
/* LineNumbers */
|
/* LineNumbers */
|
||||||
.chroma .lnt,
|
.chroma .lnt,
|
||||||
.chroma .ln {
|
.chroma .ln {
|
||||||
@apply mr-2 px-2 text-neutral-600 dark:text-neutral-300;
|
@apply px-2 mr-2 text-neutral-600 dark:text-neutral-300;
|
||||||
}
|
}
|
||||||
.chroma .lntd {
|
.chroma .lntd {
|
||||||
@apply p-0 align-top;
|
@apply p-0 align-top;
|
||||||
|
@ -274,7 +297,7 @@ body:has(#menu-controller:checked) {
|
||||||
}
|
}
|
||||||
/* CommentHashbang */
|
/* CommentHashbang */
|
||||||
.chroma .ch {
|
.chroma .ch {
|
||||||
@apply font-semibold italic text-neutral-500 dark:text-neutral-400;
|
@apply italic font-semibold text-neutral-500 dark:text-neutral-400;
|
||||||
}
|
}
|
||||||
/* GenericEmph */
|
/* GenericEmph */
|
||||||
.chroma .ge {
|
.chroma .ge {
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path fill="currentColor" d="M390.9 298.5c0 0 0 .1 .1 .1c9.2 19.4 14.4 41.1 14.4 64C405.3 445.1 338.5 512 256 512s-149.3-66.9-149.3-149.3c0-22.9 5.2-44.6 14.4-64h0c1.7-3.6 3.6-7.2 5.6-10.7c4.4-7.6 9.4-14.7 15-21.3c27.4-32.6 68.5-53.3 114.4-53.3c33.6 0 64.6 11.1 89.6 29.9c9.1 6.9 17.4 14.7 24.8 23.5c5.6 6.6 10.6 13.8 15 21.3c2 3.4 3.8 7 5.5 10.5zm26.4-18.8c-30.1-58.4-91-98.4-161.3-98.4s-131.2 40-161.3 98.4L0 202.7 256 0 512 202.7l-94.7 77.1z"/></svg>
|
After Width: | Height: | Size: 689 B |
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="20" viewBox="0 0 640 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path opacity="1" fill="currentColor" d="M624.6 325.2c-12.3-12.4-29.7-19.2-48.4-17.2-43.3-1-49.7-34.9-37.5-98.8 22.8-57.5-14.9-131.5-87.4-130.8-77.4 .7-81.7 82-130.9 82-48.1 0-54-81.3-130.9-82-72.9-.8-110.1 73.3-87.4 130.8 12.2 63.9 5.8 97.8-37.5 98.8-21.2-2.3-37 6.5-53 22.5-19.9 19.7-19.3 94.8 42.6 102.6 47.1 5.9 81.6-42.9 61.2-87.8-47.3-103.7 185.9-106.1 146.5-8.2-.1 .1-.2 .2-.3 .4-26.8 42.8 6.8 97.4 58.8 95.2 52.1 2.1 85.4-52.6 58.8-95.2-.1-.2-.2-.3-.3-.4-39.4-97.9 193.8-95.5 146.5 8.2-4.6 10-6.7 21.3-5.7 33 4.9 53.4 68.7 74.1 104.9 35.2 17.8-14.8 23.1-65.6 0-88.3zm-303.9-19.1h-.6c-43.4 0-62.8-37.5-62.8-62.8 0-34.7 28.2-62.8 62.8-62.8h.6c34.7 0 62.8 28.1 62.8 62.8 0 25-19.2 62.8-62.8 62.8z"/></svg>
|
After Width: | Height: | Size: 946 B |
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path fill="currentColor" d="M407 177.6c7.6-24-13.4-46.8-37.4-41.7-22 4.8-28.8-28.1-7.1-32.8 50.1-10.9 92.3 37.1 76.5 84.8-6.8 21.2-38.8 10.8-32-10.3zM214.8 446.7C108.5 446.7 0 395.3 0 310.4c0-44.3 28-95.4 76.3-143.7C176 67 279.5 65.8 249.9 161c-4 13.1 12.3 5.7 12.3 6 79.5-33.6 140.5-16.8 114 51.4-3.7 9.4 1.1 10.9 8.3 13.1 135.7 42.3 34.8 215.2-169.7 215.2zm143.7-146.3c-5.4-55.7-78.5-94-163.4-85.7-84.8 8.6-148.8 60.3-143.4 116s78.5 94 163.4 85.7c84.8-8.6 148.8-60.3 143.4-116zM347.9 35.1c-25.9 5.6-16.8 43.7 8.3 38.3 72.3-15.2 134.8 52.8 111.7 124-7.4 24.2 29.1 37 37.4 12 31.9-99.8-55.1-195.9-157.4-174.3zm-78.5 311c-17.1 38.8-66.8 60-109.1 46.3-40.8-13.1-58-53.4-40.3-89.7 17.7-35.4 63.1-55.4 103.4-45.1 42 10.8 63.1 50.2 46 88.5zm-86.3-30c-12.9-5.4-30 .3-38 12.9-8.3 12.9-4.3 28 8.6 34 13.1 6 30.8 .3 39.1-12.9 8-13.1 3.7-28.3-9.7-34zm32.6-13.4c-5.1-1.7-11.4 .6-14.3 5.4-2.9 5.1-1.4 10.6 3.7 12.9 5.1 2 11.7-.3 14.6-5.4 2.8-5.2 1.1-10.9-4-12.9z"/></svg>
|
After Width: | Height: | Size: 1.2 KiB |
|
@ -33,6 +33,7 @@ title = "Congo"
|
||||||
# { github = "https://github.com/username" },
|
# { github = "https://github.com/username" },
|
||||||
# { gitlab = "https://gitlab.com/username" },
|
# { gitlab = "https://gitlab.com/username" },
|
||||||
# { google = "https://www.google.com/" },
|
# { google = "https://www.google.com/" },
|
||||||
|
# { google-scholar = "https://scholar.google.com/citations?user=user-id" },
|
||||||
# { hashnode = "https://username.hashnode.dev" },
|
# { hashnode = "https://username.hashnode.dev" },
|
||||||
# { instagram = "https://instagram.com/username" },
|
# { instagram = "https://instagram.com/username" },
|
||||||
# { keybase = "https://keybase.io/username" },
|
# { keybase = "https://keybase.io/username" },
|
||||||
|
@ -41,6 +42,7 @@ title = "Congo"
|
||||||
# { linkedin = "https://linkedin.com/in/username" },
|
# { linkedin = "https://linkedin.com/in/username" },
|
||||||
# { mastodon = "https://mastodon.instance/@username" },
|
# { mastodon = "https://mastodon.instance/@username" },
|
||||||
# { medium = "https://medium.com/username" },
|
# { medium = "https://medium.com/username" },
|
||||||
|
# { mendeley = "https://www.mendeley.com/" },
|
||||||
# { microsoft = "https://www.microsoft.com/" },
|
# { microsoft = "https://www.microsoft.com/" },
|
||||||
# { orcid = "https://orcid.org/userid" },
|
# { orcid = "https://orcid.org/userid" },
|
||||||
# { patreon = "https://www.patreon.com/username" },
|
# { patreon = "https://www.patreon.com/username" },
|
||||||
|
|
|
@ -51,7 +51,7 @@ fingerprintAlgorithm = "sha256"
|
||||||
showTaxonomies = false
|
showTaxonomies = false
|
||||||
showWordCount = false
|
showWordCount = false
|
||||||
showComments = false
|
showComments = false
|
||||||
# sharingLinks = ["facebook", "twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "telegram", "line"]
|
# sharingLinks = ["facebook", "twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "telegram", "line", "weibo"]
|
||||||
|
|
||||||
[list]
|
[list]
|
||||||
showBreadcrumbs = false
|
showBreadcrumbs = false
|
||||||
|
|
|
@ -43,5 +43,10 @@
|
||||||
"icon": "line",
|
"icon": "line",
|
||||||
"title": "sharing.line",
|
"title": "sharing.line",
|
||||||
"url": "https://line.me/R/share?text=%s%s"
|
"url": "https://line.me/R/share?text=%s%s"
|
||||||
|
},
|
||||||
|
"weibo": {
|
||||||
|
"icon": "weibo",
|
||||||
|
"title":"sharing.weibo",
|
||||||
|
"url": "https://service.weibo.com/share/share.php?url=%s&appkey=&title=%s&pic=&ralateUid=&lang"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,7 @@ fingerprintAlgorithm = "sha256"
|
||||||
showTaxonomies = false
|
showTaxonomies = false
|
||||||
showWordCount = false
|
showWordCount = false
|
||||||
showComments = false
|
showComments = false
|
||||||
# sharingLinks = ["facebook", "twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "telegram", "line"]
|
# sharingLinks = ["facebook", "twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "telegram", "line", "weibo"]
|
||||||
|
|
||||||
[list]
|
[list]
|
||||||
showBreadcrumbs = true
|
showBreadcrumbs = true
|
||||||
|
|
|
@ -175,21 +175,28 @@ Congoは、標準的なMarkdown構文を使用した場合の画像について
|
||||||
|
|
||||||
## Katex
|
## Katex
|
||||||
|
|
||||||
`katex` を使うと、KaTeXパッケージを使って記事の内容に数式を追加することができます。利用可能な構文については[supported TeX functions](https://katex.org/docs/supported.html)のオンラインリファレンスを参照してください。
|
数式は `katex` ショートコードを使用し、パラメータに `block` (ブロック式の場合) または `inline` を指定してレンダリングすることができます。詳細は[数学的表記]({{< ref "mathematical-notation" >}})を参照してください。
|
||||||
|
|
||||||
記事中に数式を含めるには、コンテンツ内の任意の場所にショートコードを配置するだけです。記事ごとに一度記述するだけで、KaTeXが自動的にそのページのマークアップをレンダリングします。インライン表記とブロック表記の両方がサポートされています。
|
利用可能な構文については[サポートされているTeX関数](https://katex.org/docs/supported.html)のオンラインリファレンスを参照してください。
|
||||||
|
|
||||||
インライン記法は、式を区切り記号 `\\(` と `\\)` で囲むことで生成できます。ブロック記法の場合は `$$` です。
|
|
||||||
|
|
||||||
**例:**
|
**例:**
|
||||||
|
|
||||||
|
```
|
||||||
|
インライン記法: {{</* katex inline */>}}f(a,b,c) = (a^2+b^2+c^2)^3{{</* /katex */>}}
|
||||||
|
```
|
||||||
|
インライン記法: {{< katex inline >}}f(a,b,c) = (a^2+b^2+c^2)^3{{< /katex >}}
|
||||||
|
|
||||||
|
ブロック表記
|
||||||
|
|
||||||
```md
|
```md
|
||||||
{{</* katex */>}}
|
{{</* katex block */>}}
|
||||||
\\(f(a,b,c) = (a^2+b^2+c^2)^3\\)
|
f(a,b,c) = (a^2+b^2+c^2)^3
|
||||||
|
{{</* /katex */>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< katex >}}
|
{{< katex block>}}
|
||||||
\\(f(a,b,c) = (a^2+b^2+c^2)^3\\)
|
f(a,b,c) = (a^2+b^2+c^2)^3
|
||||||
|
{{< /katex>}}
|
||||||
|
|
||||||
[数学的表記のサンプル]({{< ref "mathematical-notation" >}})でより多くの例をチェックしてください。
|
[数学的表記のサンプル]({{< ref "mathematical-notation" >}})でより多くの例をチェックしてください。
|
||||||
|
|
||||||
|
|
|
@ -175,21 +175,28 @@ Icons can also be used in partials by calling the [icon partial]({{< ref "partia
|
||||||
|
|
||||||
## Katex
|
## Katex
|
||||||
|
|
||||||
The `katex` shortcode can be used to add mathematical expressions to article content using the KaTeX package. Refer to the online reference of [supported TeX functions](https://katex.org/docs/supported.html) for the available syntax.
|
Mathematical expressions can be rendered using either the `katex` shortcode, with either `block` (for block expression) or `inline` as parameter. See [mathematical notation]({{< ref "mathematical-notation" >}}) for more details.
|
||||||
|
It uses the KaTeX library to render mathematical notation within articles.
|
||||||
|
|
||||||
To include mathematical expressions in an article, simply place the shortcode anywhere with the content. It only needs to be included once per article and KaTeX will automatically render any markup on that page. Both inline and block notation are supported.
|
Refer to the online reference of [supported TeX functions](https://katex.org/docs/supported.html) for the available syntax.
|
||||||
|
|
||||||
Inline notation can be generated by wrapping the expression in `\\(` and `\\)` delimiters. Alternatively, block notation can be generated using `$$` delimiters.
|
|
||||||
|
|
||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
```md
|
```
|
||||||
{{</* katex */>}}
|
Inline notation: {{</* katex inline */>}}f(a,b,c) = (a^2+b^2+c^2)^3{{</* /katex */>}}
|
||||||
\\(f(a,b,c) = (a^2+b^2+c^2)^3\\)
|
```
|
||||||
|
Inline notation: {{< katex inline >}}f(a,b,c) = (a^2+b^2+c^2)^3{{< /katex >}}
|
||||||
|
|
||||||
|
Block notation:
|
||||||
|
```
|
||||||
|
{{</* katex block */>}}
|
||||||
|
f(a,b,c) = (a^2+b^2+c^2)^3
|
||||||
|
{{</* /katex */>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< katex >}}
|
{{< katex block >}}
|
||||||
\\(f(a,b,c) = (a^2+b^2+c^2)^3\\)
|
f(a,b,c) = (a^2+b^2+c^2)^3
|
||||||
|
{{< /katex >}}
|
||||||
|
|
||||||
Check out the [mathematical notation samples]({{< ref "mathematical-notation" >}}) page for more examples.
|
Check out the [mathematical notation samples]({{< ref "mathematical-notation" >}}) page for more examples.
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,7 @@ Die vollständige Liste der integrierten Icons und ihre entsprechenden Namen fin
|
||||||
| gitlab | {{< icon gitlab >}} |
|
| gitlab | {{< icon gitlab >}} |
|
||||||
| globe | {{< icon globe >}} |
|
| globe | {{< icon globe >}} |
|
||||||
| google | {{< icon google >}} |
|
| google | {{< icon google >}} |
|
||||||
|
| google-scholar | {{< icon google-scholar >}} |
|
||||||
| hashnode | {{< icon hashnode >}} |
|
| hashnode | {{< icon hashnode >}} |
|
||||||
| instagram | {{< icon instagram >}} |
|
| instagram | {{< icon instagram >}} |
|
||||||
| keybase | {{< icon keybase >}} |
|
| keybase | {{< icon keybase >}} |
|
||||||
|
@ -52,6 +53,7 @@ Die vollständige Liste der integrierten Icons und ihre entsprechenden Namen fin
|
||||||
| list | {{< icon list >}} |
|
| list | {{< icon list >}} |
|
||||||
| mastodon | {{< icon mastodon >}} |
|
| mastodon | {{< icon mastodon >}} |
|
||||||
| medium | {{< icon medium >}} |
|
| medium | {{< icon medium >}} |
|
||||||
|
| mendeley | {{< icon mendeley>}} |
|
||||||
| microsoft | {{< icon microsoft >}} |
|
| microsoft | {{< icon microsoft >}} |
|
||||||
| mobile | {{< icon mobile >}} |
|
| mobile | {{< icon mobile >}} |
|
||||||
| moon | {{< icon moon >}} |
|
| moon | {{< icon moon >}} |
|
||||||
|
@ -79,6 +81,7 @@ Die vollständige Liste der integrierten Icons und ihre entsprechenden Namen fin
|
||||||
| tumblr | {{< icon tumblr >}} |
|
| tumblr | {{< icon tumblr >}} |
|
||||||
| twitch | {{< icon twitch >}} |
|
| twitch | {{< icon twitch >}} |
|
||||||
| twitter | {{< icon twitter >}} |
|
| twitter | {{< icon twitter >}} |
|
||||||
|
| weibo | {{< icon weibo >}} |
|
||||||
| whatsapp | {{< icon whatsapp >}} |
|
| whatsapp | {{< icon whatsapp >}} |
|
||||||
| x-twitter | {{< icon x-twitter >}} |
|
| x-twitter | {{< icon x-twitter >}} |
|
||||||
| xmark | {{< icon xmark >}} |
|
| xmark | {{< icon xmark >}} |
|
||||||
|
|
|
@ -40,6 +40,7 @@ La lista completa de íconos incorporados y sus nombres correspondientes se pued
|
||||||
| gitlab | {{< icon gitlab >}} |
|
| gitlab | {{< icon gitlab >}} |
|
||||||
| globe | {{< icon globe >}} |
|
| globe | {{< icon globe >}} |
|
||||||
| google | {{< icon google >}} |
|
| google | {{< icon google >}} |
|
||||||
|
| google-scholar | {{< icon google-scholar >}} |
|
||||||
| hashnode | {{< icon hashnode >}} |
|
| hashnode | {{< icon hashnode >}} |
|
||||||
| instagram | {{< icon instagram >}} |
|
| instagram | {{< icon instagram >}} |
|
||||||
| keybase | {{< icon keybase >}} |
|
| keybase | {{< icon keybase >}} |
|
||||||
|
@ -52,6 +53,7 @@ La lista completa de íconos incorporados y sus nombres correspondientes se pued
|
||||||
| list | {{< icon list >}} |
|
| list | {{< icon list >}} |
|
||||||
| mastodon | {{< icon mastodon >}} |
|
| mastodon | {{< icon mastodon >}} |
|
||||||
| medium | {{< icon medium >}} |
|
| medium | {{< icon medium >}} |
|
||||||
|
| mendeley | {{< icon mendeley>}} |
|
||||||
| microsoft | {{< icon microsoft >}} |
|
| microsoft | {{< icon microsoft >}} |
|
||||||
| mobile | {{< icon mobile >}} |
|
| mobile | {{< icon mobile >}} |
|
||||||
| moon | {{< icon moon >}} |
|
| moon | {{< icon moon >}} |
|
||||||
|
@ -79,6 +81,7 @@ La lista completa de íconos incorporados y sus nombres correspondientes se pued
|
||||||
| tumblr | {{< icon tumblr >}} |
|
| tumblr | {{< icon tumblr >}} |
|
||||||
| twitch | {{< icon twitch >}} |
|
| twitch | {{< icon twitch >}} |
|
||||||
| twitter | {{< icon twitter >}} |
|
| twitter | {{< icon twitter >}} |
|
||||||
|
| weibo | {{< icon weibo >}} |
|
||||||
| whatsapp | {{< icon whatsapp >}} |
|
| whatsapp | {{< icon whatsapp >}} |
|
||||||
| x-twitter | {{< icon x-twitter >}} |
|
| x-twitter | {{< icon x-twitter >}} |
|
||||||
| xmark | {{< icon xmark >}} |
|
| xmark | {{< icon xmark >}} |
|
||||||
|
|
|
@ -40,6 +40,7 @@ Congo は[FontAwesome 6](https://fontawesome.com/icons)のアイコンをサポ
|
||||||
| gitlab | {{< icon gitlab >}} |
|
| gitlab | {{< icon gitlab >}} |
|
||||||
| globe | {{< icon globe >}} |
|
| globe | {{< icon globe >}} |
|
||||||
| google | {{< icon google >}} |
|
| google | {{< icon google >}} |
|
||||||
|
| google-scholar | {{< icon google-scholar >}} |
|
||||||
| hashnode | {{< icon hashnode >}} |
|
| hashnode | {{< icon hashnode >}} |
|
||||||
| instagram | {{< icon instagram >}} |
|
| instagram | {{< icon instagram >}} |
|
||||||
| keybase | {{< icon keybase >}} |
|
| keybase | {{< icon keybase >}} |
|
||||||
|
@ -52,6 +53,7 @@ Congo は[FontAwesome 6](https://fontawesome.com/icons)のアイコンをサポ
|
||||||
| list | {{< icon list >}} |
|
| list | {{< icon list >}} |
|
||||||
| mastodon | {{< icon mastodon >}} |
|
| mastodon | {{< icon mastodon >}} |
|
||||||
| medium | {{< icon medium >}} |
|
| medium | {{< icon medium >}} |
|
||||||
|
| mendeley | {{< icon mendeley>}} |
|
||||||
| microsoft | {{< icon microsoft >}} |
|
| microsoft | {{< icon microsoft >}} |
|
||||||
| mobile | {{< icon mobile >}} |
|
| mobile | {{< icon mobile >}} |
|
||||||
| moon | {{< icon moon >}} |
|
| moon | {{< icon moon >}} |
|
||||||
|
@ -79,6 +81,7 @@ Congo は[FontAwesome 6](https://fontawesome.com/icons)のアイコンをサポ
|
||||||
| tumblr | {{< icon tumblr >}} |
|
| tumblr | {{< icon tumblr >}} |
|
||||||
| twitch | {{< icon twitch >}} |
|
| twitch | {{< icon twitch >}} |
|
||||||
| twitter | {{< icon twitter >}} |
|
| twitter | {{< icon twitter >}} |
|
||||||
|
| weibo | {{< icon weibo >}} |
|
||||||
| whatsapp | {{< icon whatsapp >}} |
|
| whatsapp | {{< icon whatsapp >}} |
|
||||||
| x-twitter | {{< icon x-twitter >}} |
|
| x-twitter | {{< icon x-twitter >}} |
|
||||||
| xmark | {{< icon xmark >}} |
|
| xmark | {{< icon xmark >}} |
|
||||||
|
|
|
@ -40,6 +40,7 @@ The full list of built-in icons and their corresponding names can referenced bel
|
||||||
| gitlab | {{< icon gitlab >}} |
|
| gitlab | {{< icon gitlab >}} |
|
||||||
| globe | {{< icon globe >}} |
|
| globe | {{< icon globe >}} |
|
||||||
| google | {{< icon google >}} |
|
| google | {{< icon google >}} |
|
||||||
|
| google-scholar | {{< icon google-scholar >}} |
|
||||||
| hashnode | {{< icon hashnode >}} |
|
| hashnode | {{< icon hashnode >}} |
|
||||||
| instagram | {{< icon instagram >}} |
|
| instagram | {{< icon instagram >}} |
|
||||||
| keybase | {{< icon keybase >}} |
|
| keybase | {{< icon keybase >}} |
|
||||||
|
@ -52,6 +53,7 @@ The full list of built-in icons and their corresponding names can referenced bel
|
||||||
| list | {{< icon list >}} |
|
| list | {{< icon list >}} |
|
||||||
| mastodon | {{< icon mastodon >}} |
|
| mastodon | {{< icon mastodon >}} |
|
||||||
| medium | {{< icon medium >}} |
|
| medium | {{< icon medium >}} |
|
||||||
|
| mendeley | {{< icon mendeley>}} |
|
||||||
| microsoft | {{< icon microsoft >}} |
|
| microsoft | {{< icon microsoft >}} |
|
||||||
| mobile | {{< icon mobile >}} |
|
| mobile | {{< icon mobile >}} |
|
||||||
| moon | {{< icon moon >}} |
|
| moon | {{< icon moon >}} |
|
||||||
|
@ -79,6 +81,7 @@ The full list of built-in icons and their corresponding names can referenced bel
|
||||||
| tumblr | {{< icon tumblr >}} |
|
| tumblr | {{< icon tumblr >}} |
|
||||||
| twitch | {{< icon twitch >}} |
|
| twitch | {{< icon twitch >}} |
|
||||||
| twitter | {{< icon twitter >}} |
|
| twitter | {{< icon twitter >}} |
|
||||||
|
| weibo | {{< icon weibo >}} |
|
||||||
| whatsapp | {{< icon whatsapp >}} |
|
| whatsapp | {{< icon whatsapp >}} |
|
||||||
| x-twitter | {{< icon x-twitter >}} |
|
| x-twitter | {{< icon x-twitter >}} |
|
||||||
| xmark | {{< icon xmark >}} |
|
| xmark | {{< icon xmark >}} |
|
||||||
|
|
|
@ -9,38 +9,39 @@ KaTeX kann verwendet werden, um mathematische Notationen in Artikeln darzustelle
|
||||||
|
|
||||||
<!--more-->
|
<!--more-->
|
||||||
|
|
||||||
{{< katex >}}
|
Congo bindet die KaTeX-Assets nur dann in das Projekt ein, wenn die mathematische Notation verwendet wird. Damit dies funktioniert, kann einfach der Shortcode [`katex`]({{< ref path="docs/shortcodes#katex" lang="en" >}}) der entweder mit `katex block` oder `katex inline` verwendet werden kann in den Artikel eingefügt werden. Jede KaTeX-Syntax auf dieser Seite wird dann automatisch gerendert.
|
||||||
|
|
||||||
Congo bindet die KaTeX-Assets nur dann in das Projekt ein, wenn die mathematische Notation verwendet wird. Damit dies funktioniert, kann einfach der Shortcode [`katex`]({{< ref path="docs/shortcodes#katex" lang="en" >}}) in den Artikel eingefügt werden. Jede KaTeX-Syntax auf dieser Seite wird dann automatisch gerendert.
|
|
||||||
|
|
||||||
Die Online-Referenz der [unterstützten TeX-Funktionen](https://katex.org/docs/supported.html) zeigt Syntax-Beispiele.
|
Die Online-Referenz der [unterstützten TeX-Funktionen](https://katex.org/docs/supported.html) zeigt Syntax-Beispiele.
|
||||||
|
|
||||||
## Inline-Schreibweise
|
## Inline-Schreibweise
|
||||||
|
|
||||||
Die Inline-Schreibweise kann erzeugt werden, indem der Ausdruck in die Trennzeichen `\(` und `\)` eingeschlossen wird.
|
Die Inline-Schreibweise kann erzeugt werden, indem der Ausdruck in den Shortcode `katex inline` oder `katex` eingeschlossen wird.
|
||||||
|
|
||||||
**Beispiel:**
|
**Beispiel:**
|
||||||
|
|
||||||
```tex
|
```tex
|
||||||
% KaTeX Inline-Schreibweise
|
% KaTeX Inline-Schreibweise
|
||||||
Inline-Schreibweise: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\)
|
Inline-Schreibweise: {{</* katex inline */>}}\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…{{</* /katex */>}}
|
||||||
|
Kurzfassung: {{</* katex */>}}\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…{{</* /katex */>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
Inline-Schreibweise: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\)
|
Inline-Schreibweise: {{< katex inline >}}\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…{{< /katex >}}
|
||||||
|
|
||||||
|
Kurzfassung: {{< katex >}}\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…{{< /katex >}}
|
||||||
|
|
||||||
## Schreibweise als Block
|
## Schreibweise als Block
|
||||||
|
|
||||||
Alternativ kann die Blockschreibweise mit Hilfe von `$$`-Trennzeichen erzeugt werden. Dadurch wird der Ausdruck in einem eigenen HTML-Block ausgegeben.
|
Alternativ kann die Blockschreibweise mit dem Parameter `block` erzeugt werden. Dadurch wird der Ausdruck in einem eigenen HTML-Block ausgegeben.
|
||||||
|
|
||||||
**Beispiel:**
|
**Beispiel:**
|
||||||
|
|
||||||
```tex
|
```tex
|
||||||
% KaTeX mit Block-Schreibweise
|
% KaTeX mit Block-Schreibweise
|
||||||
$$
|
{{</* katex block */>}}
|
||||||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||||
$$
|
{{</* /katex */>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
$$
|
{{< katex block >}}
|
||||||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||||
$$
|
{{< /katex >}}
|
||||||
|
|
|
@ -9,38 +9,41 @@ Una breve muestra de notación matemática en Congo.
|
||||||
|
|
||||||
<!--more-->
|
<!--more-->
|
||||||
|
|
||||||
{{< katex >}}
|
Congo sólo incluirá los recursos de KaTeX en su proyecto si hace uso de la notación matemática. Para que esto funcione, congo proporciona un shortcode [`katex`]({{< ref path="docs/shortcodes#katex" lang="en" >}}) que puede usarse con `katex block` o `katex inline`.
|
||||||
|
Cualquier sintaxis KaTeX dentro del shortcode se renderizará automáticamente.
|
||||||
Congo solo incluirá los assets de KaTeX en su proyecto si utiliza notación matemática. Para que esto funcione, simplemente incluya el [`katex` shortcode]({{< ref path="docs/shortcodes#katex" lang="en" >}}) dentro del artículo. Cualquier sintaxis de KaTeX en esa página se renderizará automáticamente.
|
|
||||||
|
|
||||||
Utilice la documentación en línea de [funciones TeX admitidas](https://katex.org/docs/supported.html) para conocer la sintaxis disponible.
|
Utilice la documentación en línea de [funciones TeX admitidas](https://katex.org/docs/supported.html) para conocer la sintaxis disponible.
|
||||||
|
|
||||||
## Notación en línea
|
## Notación en línea
|
||||||
|
|
||||||
La notación en línea se puede generar envolviendo la expresión en los delimitadores `\\(` y `\\)`.
|
La notación inline puede generarse envolviendo la expresión en el shortcode `katex inline` o `katex`.
|
||||||
|
|
||||||
**Ejemplo:**
|
**Ejemplo:**
|
||||||
|
|
||||||
```tex
|
```tex
|
||||||
% KaTeX notación en línea
|
% KaTeX notación en línea
|
||||||
Notación en línea: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\)
|
Notación en línea: {{</* katex inline */>}}\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…{{</* /katex */>}}
|
||||||
|
Versión abreviada: {{</* katex */>}}\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…{{</* /katex */>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
Notación en línea: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\)
|
Notación en línea: {{< katex inline >}}\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…{{< /katex >}}
|
||||||
|
|
||||||
|
Versión abreviada: {{< katex >}}\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…{{< /katex >}}
|
||||||
|
|
||||||
|
|
||||||
## Notación en bloque
|
## Notación en bloque
|
||||||
|
|
||||||
Alternativamente, la notación en bloque se puede generar usando delimitadores `$$`. Esto generará la expresión en su propio bloque HTML.
|
Alternativamente, puede generarse una notación en bloque utilizando el parámetro `block`. Esto mostrará la expresión en su propio bloque HTML.
|
||||||
|
|
||||||
**Ejemplo:**
|
**Ejemplo:**
|
||||||
|
|
||||||
```tex
|
```tex
|
||||||
% KaTeX notación en bloque
|
% KaTeX notación en bloque
|
||||||
$$
|
{{</* katex block */>}}
|
||||||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||||
$$
|
{{</* /katex */>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
$$
|
{{< katex block >}}
|
||||||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||||
$$
|
{{< /katex >}}
|
||||||
|
|
|
@ -9,38 +9,40 @@ tags: ["sample", "katex", "maths", "shortcodes"]
|
||||||
|
|
||||||
<!--more-->
|
<!--more-->
|
||||||
|
|
||||||
{{< katex >}}
|
Congoは、数学的記法を使用する場合にのみ、KaTeXアセットをプロジェクトにバンドルします。これを動作させるために、congoは `katex block` または `katex inline` で使用できるショートコード [`katex`]({{< ref path="docs/shortcodes#katex" lang="en" >}}) を提供しています。
|
||||||
|
ショートコード内のKaTeX構文は自動的にレンダリングされます。
|
||||||
|
|
||||||
Congoは、数学的表記を使用する場合にのみ、KaTeXアセットをプロジェクトにバンドルします。これを動作させるには、単に記事内に[`katex` ショートコード]({{< ref "docs/shortcodes#katex" >}})をインクルードしてください。そのページ上のKaTeX構文は自動的にレンダリングされます。
|
利用可能な構文については[サポートされているTeX関数](https://katex.org/docs/supported.html)のオンラインリファレンスを参照してください。
|
||||||
|
|
||||||
使用可能な構文については、[supported TeX functions](https://katex.org/docs/supported.html)のオンラインリファレンスを参照してください。
|
|
||||||
|
|
||||||
## インライン記法
|
## インライン記法
|
||||||
|
|
||||||
インライン記法は、式を `\\(` と `\\)` で囲むことで生成できます。
|
インライン記法は `katex inline` または `katex` ショートコードで式をラップすることで生成できる。
|
||||||
|
|
||||||
**例:**
|
**例:**
|
||||||
|
|
||||||
```tex
|
```tex
|
||||||
% KaTeX inline notation
|
% KaTeX inline notation
|
||||||
インライン記法: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\)
|
インライン記法: {{</* katex inline */>}}\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…{{</* /katex */>}}
|
||||||
|
速記版: {{</* katex */>}}\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…{{</* /katex */>}}
|
||||||
```
|
```
|
||||||
|
インライン記法: {{< katex inline >}}\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…{{< /katex >}}
|
||||||
|
|
||||||
インライン記法: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\)
|
速記版: {{< katex >}}\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…{{< /katex >}}
|
||||||
|
|
||||||
## ブロック記法
|
## ブロック記法
|
||||||
|
|
||||||
あるいは、 `$$` を使ってブロック記法で生成することもできます。これは式を独自のHTMLブロックとして出力します。
|
また、`block` パラメータを使ってブロック表記を生成することもできます。これは式を独自のHTMLブロックで出力します。
|
||||||
|
|
||||||
**例:**
|
**例:**
|
||||||
|
|
||||||
```tex
|
```tex
|
||||||
% KaTeX block notation
|
% KaTeX block notation
|
||||||
$$
|
{{</* katex block */>}}
|
||||||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||||
$$
|
{{</* /katex */>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
$$
|
{{< katex block >}}
|
||||||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||||
$$
|
{{< /katex >}}
|
||||||
|
|
|
@ -9,38 +9,40 @@ KaTeX can be used to render mathematical notation within articles.
|
||||||
|
|
||||||
<!--more-->
|
<!--more-->
|
||||||
|
|
||||||
{{< katex >}}
|
Congo will only bundle the KaTeX assets into your project if you make use of mathematical notation. In order for this to work, congo provides a shortcode [`katex`]({{< ref "docs/shortcodes#katex" >}}) than can be used with either `katex block` or `katex inline`.
|
||||||
|
Any KaTeX syntax inside the shortcode will be automatically rendered.
|
||||||
Congo will only bundle the KaTeX assets into your project if you make use of mathematical notation. In order for this to work, simply include the [`katex` shortcode]({{< ref "docs/shortcodes#katex" >}}) within the article. Any KaTeX syntax on that page will then be automatically rendered.
|
|
||||||
|
|
||||||
Use the online reference of [supported TeX functions](https://katex.org/docs/supported.html) for the available syntax.
|
Use the online reference of [supported TeX functions](https://katex.org/docs/supported.html) for the available syntax.
|
||||||
|
|
||||||
## Inline notation
|
## Inline notation
|
||||||
|
|
||||||
Inline notation can be generated by wrapping the expression in `\\(` and `\\)` delimiters.
|
Inline notation can be generated by wrapping the expression in the `katex inline` or `katex` shortcode.
|
||||||
|
|
||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
```tex
|
```tex
|
||||||
% KaTeX inline notation
|
% KaTeX inline notation
|
||||||
Inline notation: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\)
|
Inline notation: {{</* katex inline */>}}\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…{{</* /katex */>}}
|
||||||
|
Shorthand version: {{</* katex */>}}\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…{{</* /katex */>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
Inline notation: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\)
|
Inline notation: {{< katex inline >}}\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…{{< /katex >}}
|
||||||
|
|
||||||
|
Shorthand version: {{< katex >}}\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…{{< /katex >}}
|
||||||
|
|
||||||
## Block notation
|
## Block notation
|
||||||
|
|
||||||
Alternatively, block notation can be generated using `$$` delimiters. This will output the expression in its own HTML block.
|
Alternatively, block notation can be generated using the `block` parameter. This will output the expression in its own HTML block.
|
||||||
|
|
||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
```tex
|
```tex
|
||||||
% KaTeX block notation
|
% KaTeX block notation
|
||||||
$$
|
{{</* katex block */>}}
|
||||||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||||
$$
|
{{</* /katex */>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
$$
|
{{< katex block >}}
|
||||||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||||
$$
|
{{< /katex >}}
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "تغريد على تويتر"
|
twitter: "تغريد على تويتر"
|
||||||
telegram: "شارك على تيليجرام"
|
telegram: "شارك على تيليجرام"
|
||||||
line: "شارك على لاين"
|
line: "شارك على لاين"
|
||||||
|
# weibo: "Share on Weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "حديثًا"
|
recent_articles: "حديثًا"
|
||||||
|
|
|
@ -52,7 +52,8 @@ sharing:
|
||||||
reddit: "Публикуване в Reddit"
|
reddit: "Публикуване в Reddit"
|
||||||
twitter: "Туит в Twitter"
|
twitter: "Туит в Twitter"
|
||||||
telegram: "Споделете в Telegram"
|
telegram: "Споделете в Telegram"
|
||||||
line: Споделете в LINE""
|
line: "Споделете в LINE"
|
||||||
|
weibo: "Споделете в Weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Последни"
|
recent_articles: "Последни"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "ট্যুইট করুন"
|
twitter: "ট্যুইট করুন"
|
||||||
telegram: "টেলিগ্রামে শেয়ার করুন"
|
telegram: "টেলিগ্রামে শেয়ার করুন"
|
||||||
line: "লাইনে শেয়ার করুন"
|
line: "লাইনে শেয়ার করুন"
|
||||||
|
# weibo: "Share on Weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "সাম্প্রতিক"
|
recent_articles: "সাম্প্রতিক"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "Tweet na Twitter"
|
twitter: "Tweet na Twitter"
|
||||||
telegram: "Sdílejte na Telegram"
|
telegram: "Sdílejte na Telegram"
|
||||||
line: "Sdílejte na LINE"
|
line: "Sdílejte na LINE"
|
||||||
|
line: "Sdílejte na Weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Nedávné"
|
recent_articles: "Nedávné"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "Auf Twitter teilen"
|
twitter: "Auf Twitter teilen"
|
||||||
telegram: "Auf Telegram teilen"
|
telegram: "Auf Telegram teilen"
|
||||||
line: "Auf LINE teilen"
|
line: "Auf LINE teilen"
|
||||||
|
weibo: "Auf Weibo teilen"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Neue Beiträge"
|
recent_articles: "Neue Beiträge"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "Tweet on Twitter"
|
twitter: "Tweet on Twitter"
|
||||||
telegram: "Share on Telegram"
|
telegram: "Share on Telegram"
|
||||||
line: "Share on LINE"
|
line: "Share on LINE"
|
||||||
|
weibo: "Share on Weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Recent"
|
recent_articles: "Recent"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "Tuitear en Twitter"
|
twitter: "Tuitear en Twitter"
|
||||||
telegram: "Compartir en Telegram"
|
telegram: "Compartir en Telegram"
|
||||||
line: "Compartir en LINE"
|
line: "Compartir en LINE"
|
||||||
|
weibo: "Compartir en Weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Reciente"
|
recent_articles: "Reciente"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "Twiittaa Twitterissä"
|
twitter: "Twiittaa Twitterissä"
|
||||||
telegram: "Jaa Telegramissa"
|
telegram: "Jaa Telegramissa"
|
||||||
line: "Jaa LINEssä"
|
line: "Jaa LINEssä"
|
||||||
|
weibo: "Jaa Weibossä"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Viimeaikaiset"
|
recent_articles: "Viimeaikaiset"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "Tweeter"
|
twitter: "Tweeter"
|
||||||
telegram: "Partager sur Telegram"
|
telegram: "Partager sur Telegram"
|
||||||
line: "Partager sur LINE"
|
line: "Partager sur LINE"
|
||||||
|
weibo: "Partager sur Weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Articles récents"
|
recent_articles: "Articles récents"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "ציוץ בטוויטר"
|
twitter: "ציוץ בטוויטר"
|
||||||
telegram: "שיתוף בטלגרם"
|
telegram: "שיתוף בטלגרם"
|
||||||
line: "שיתוף בליין"
|
line: "שיתוף בליין"
|
||||||
|
# weibo: "Share on Weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "חדשים"
|
recent_articles: "חדשים"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "Megosztás a Twitteren"
|
twitter: "Megosztás a Twitteren"
|
||||||
telegram: "Megosztás a Telegramon"
|
telegram: "Megosztás a Telegramon"
|
||||||
line: "Megosztás a LINE-on"
|
line: "Megosztás a LINE-on"
|
||||||
|
weibo: "Megosztás a Weibo-on"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Friss"
|
recent_articles: "Friss"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "Tweet di Twitter"
|
twitter: "Tweet di Twitter"
|
||||||
telegram: "Bagikan ke Telegram"
|
telegram: "Bagikan ke Telegram"
|
||||||
line: "Bagikan ke LINE"
|
line: "Bagikan ke LINE"
|
||||||
|
weibo: "Bagikan ke Weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Terbaru"
|
recent_articles: "Terbaru"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "Tweetta su Twitter"
|
twitter: "Tweetta su Twitter"
|
||||||
telegram: "Condividi su Telegram"
|
telegram: "Condividi su Telegram"
|
||||||
line: "Condividi su LINE"
|
line: "Condividi su LINE"
|
||||||
|
weibo: "Condividi su Weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Recenti"
|
recent_articles: "Recenti"
|
||||||
|
|
|
@ -47,12 +47,13 @@ sharing:
|
||||||
email: " Eメールを送る"
|
email: " Eメールを送る"
|
||||||
facebook: "Facebookでシェアする"
|
facebook: "Facebookでシェアする"
|
||||||
linkedin: "LinkedInでシェアする"
|
linkedin: "LinkedInでシェアする"
|
||||||
# mastodon: "Toot on Mastodon"
|
mastodon: "Mastodonに投稿する"
|
||||||
pinterest: "Pinterestでピンする"
|
pinterest: "Pinterestでピンする"
|
||||||
reddit: "Redditに投稿する"
|
reddit: "Redditに投稿する"
|
||||||
twitter: "Twitterに投稿する"
|
twitter: "Twitterに投稿する"
|
||||||
telegram: "Telegramでシェアする"
|
telegram: "Telegramでシェアする"
|
||||||
line: "LINEでシェアする"
|
line: "LINEでシェアする"
|
||||||
|
weibo: "Weiboでシェアする"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "最近の記事"
|
recent_articles: "最近の記事"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "Twitter에 트윗하기"
|
twitter: "Twitter에 트윗하기"
|
||||||
telegram: "Telegram에 공유하기"
|
telegram: "Telegram에 공유하기"
|
||||||
line: "LINE에 공유하기"
|
line: "LINE에 공유하기"
|
||||||
|
weibo: "Weibo에 공유하기"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "최신 글"
|
recent_articles: "최신 글"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "Tweet op Twitter"
|
twitter: "Tweet op Twitter"
|
||||||
telegram: "Deel op Telegram"
|
telegram: "Deel op Telegram"
|
||||||
line: "Deel op LINE"
|
line: "Deel op LINE"
|
||||||
|
weibo: "Deel op Weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Recent"
|
recent_articles: "Recent"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "Udostępnij na Twitter"
|
twitter: "Udostępnij na Twitter"
|
||||||
telegram: "Udostępnij na Telegram"
|
telegram: "Udostępnij na Telegram"
|
||||||
line: "Udostępnij na LINE"
|
line: "Udostępnij na LINE"
|
||||||
|
weibo: "Udostępnij na Weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Ostatnie"
|
recent_articles: "Ostatnie"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "Tweet no Twitter"
|
twitter: "Tweet no Twitter"
|
||||||
telegram: "Compartilhar pelo Telegram"
|
telegram: "Compartilhar pelo Telegram"
|
||||||
line: "Compartilhar pelo LINE"
|
line: "Compartilhar pelo LINE"
|
||||||
|
weibo: "Compartilhar pelo weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Recente"
|
recent_articles: "Recente"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "Partilhar no Twitter"
|
twitter: "Partilhar no Twitter"
|
||||||
telegram: "Partilhar pelo Telegram"
|
telegram: "Partilhar pelo Telegram"
|
||||||
line: "Partilhar pelo LINE"
|
line: "Partilhar pelo LINE"
|
||||||
|
weibo: "Partilhar pelo Weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Recente"
|
recent_articles: "Recente"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "Scrie pe Twitter"
|
twitter: "Scrie pe Twitter"
|
||||||
telegram: "Trimite pe Telegram"
|
telegram: "Trimite pe Telegram"
|
||||||
line: "Trimite pe LINE"
|
line: "Trimite pe LINE"
|
||||||
|
weibo: "Trimite pe Weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Cele mai noi"
|
recent_articles: "Cele mai noi"
|
||||||
|
|
|
@ -57,6 +57,7 @@ sharing:
|
||||||
twitter: "Опубликовать на Twitter"
|
twitter: "Опубликовать на Twitter"
|
||||||
telegram: "Поделиться на Telegram"
|
telegram: "Поделиться на Telegram"
|
||||||
line: "Поделиться на LINE"
|
line: "Поделиться на LINE"
|
||||||
|
weibo: "Поделиться на Weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Последние"
|
recent_articles: "Последние"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "Tweet na Twitteri"
|
twitter: "Tweet na Twitteri"
|
||||||
telegram: "Zdieľaj na Telegram"
|
telegram: "Zdieľaj na Telegram"
|
||||||
line: "Zdieľaj na LINE"
|
line: "Zdieľaj na LINE"
|
||||||
|
weibo: "Zdieľaj na Weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Nedávne"
|
recent_articles: "Nedávne"
|
||||||
|
|
|
@ -52,6 +52,7 @@ sharing:
|
||||||
twitter: "Twitter'da Tweetle"
|
twitter: "Twitter'da Tweetle"
|
||||||
telegram: "Telegram'da paylaş"
|
telegram: "Telegram'da paylaş"
|
||||||
line: "LINE'da paylaş"
|
line: "LINE'da paylaş"
|
||||||
|
weibo: "Weibo'da paylaş"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Güncel"
|
recent_articles: "Güncel"
|
||||||
|
|
|
@ -57,6 +57,7 @@ sharing:
|
||||||
twitter: "Поширити на Twitter"
|
twitter: "Поширити на Twitter"
|
||||||
telegram: "Поширити на Telegram"
|
telegram: "Поширити на Telegram"
|
||||||
line: "Поширити на LINE"
|
line: "Поширити на LINE"
|
||||||
|
weibo: "Поширити на Weibo"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Недавні дописи"
|
recent_articles: "Недавні дописи"
|
||||||
|
|
|
@ -52,6 +52,7 @@ sharing:
|
||||||
twitter: "分享到 Twitter"
|
twitter: "分享到 Twitter"
|
||||||
telegram: "分享到 Telegram"
|
telegram: "分享到 Telegram"
|
||||||
line: "分享到 LINE"
|
line: "分享到 LINE"
|
||||||
|
weibo: "分享到 微博"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "最近的文章"
|
recent_articles: "最近的文章"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
twitter: "推到 Twitter"
|
twitter: "推到 Twitter"
|
||||||
telegram: "分享到 Telegram"
|
telegram: "分享到 Telegram"
|
||||||
line: "分享到 LINE"
|
line: "分享到 LINE"
|
||||||
|
weibo: "分享到 微博"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "最近的文章"
|
recent_articles: "最近的文章"
|
||||||
|
|
|
@ -1 +1,8 @@
|
||||||
{{/* Nothing to see here */}}
|
{{ $mode := .Get 0 }}
|
||||||
|
{{ if eq $mode "block" }}
|
||||||
|
$${{.Inner}}$$
|
||||||
|
{{ else if or (eq $mode "inline") (eq $mode nil) }}
|
||||||
|
\({{.Inner}}\)
|
||||||
|
{{ else }}
|
||||||
|
{{ errorf "Invalid katex mode: expected block or inline" }}
|
||||||
|
{{ end }}
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
"prettier-plugin-tailwindcss": "^0.5.9",
|
"prettier-plugin-tailwindcss": "^0.5.9",
|
||||||
"quicklink": "^2.3.0",
|
"quicklink": "^2.3.0",
|
||||||
"rimraf": "^5.0.5",
|
"rimraf": "^5.0.5",
|
||||||
"tailwindcss": "^3.3.6",
|
"tailwindcss": "^3.3.7",
|
||||||
"vendor-copy": "^3.0.1"
|
"vendor-copy": "^3.0.1"
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
|
@ -2896,9 +2896,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/tailwindcss": {
|
"node_modules/tailwindcss": {
|
||||||
"version": "3.3.6",
|
"version": "3.3.7",
|
||||||
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.6.tgz",
|
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.7.tgz",
|
||||||
"integrity": "sha512-AKjF7qbbLvLaPieoKeTjG1+FyNZT6KaJMJPFeQyLfIp7l82ggH1fbHJSsYIvnbTFQOlkh+gBYpyby5GT1LIdLw==",
|
"integrity": "sha512-pjgQxDZPvyS/nG3ZYkyCvsbONJl7GdOejfm24iMt2ElYQQw8Jc4p0m8RdMp7mznPD0kUhfzwV3zAwa80qI0zmQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@alloc/quick-lru": "^5.2.0",
|
"@alloc/quick-lru": "^5.2.0",
|
||||||
|
@ -5199,9 +5199,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"tailwindcss": {
|
"tailwindcss": {
|
||||||
"version": "3.3.6",
|
"version": "3.3.7",
|
||||||
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.6.tgz",
|
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.7.tgz",
|
||||||
"integrity": "sha512-AKjF7qbbLvLaPieoKeTjG1+FyNZT6KaJMJPFeQyLfIp7l82ggH1fbHJSsYIvnbTFQOlkh+gBYpyby5GT1LIdLw==",
|
"integrity": "sha512-pjgQxDZPvyS/nG3ZYkyCvsbONJl7GdOejfm24iMt2ElYQQw8Jc4p0m8RdMp7mznPD0kUhfzwV3zAwa80qI0zmQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@alloc/quick-lru": "^5.2.0",
|
"@alloc/quick-lru": "^5.2.0",
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
"prettier-plugin-tailwindcss": "^0.5.9",
|
"prettier-plugin-tailwindcss": "^0.5.9",
|
||||||
"quicklink": "^2.3.0",
|
"quicklink": "^2.3.0",
|
||||||
"rimraf": "^5.0.5",
|
"rimraf": "^5.0.5",
|
||||||
"tailwindcss": "^3.3.6",
|
"tailwindcss": "^3.3.7",
|
||||||
"vendor-copy": "^3.0.1"
|
"vendor-copy": "^3.0.1"
|
||||||
},
|
},
|
||||||
"vendorCopy": [],
|
"vendorCopy": [],
|
||||||
|
|
Loading…
Reference in New Issue