1.0.8-rc.4
This commit is contained in:
parent
5fda4c14e0
commit
4c273b1543
2
html.js
2
html.js
|
@ -129,7 +129,7 @@ export function head(tokens, options) {
|
||||||
const truncate = (text, limit) =>
|
const truncate = (text, limit) =>
|
||||||
text.length > limit ? `${text.substring(0, limit)}...` : text;
|
text.length > limit ? `${text.substring(0, limit)}...` : text;
|
||||||
|
|
||||||
const heading = tokens.find(({ h1 }) => h1)
|
const heading = tokens.find(({ h1 }) => h1);
|
||||||
const description =
|
const description =
|
||||||
options.description > 0
|
options.description > 0
|
||||||
? tokens.find((token) => {
|
? tokens.find((token) => {
|
||||||
|
|
Loading…
Reference in a new issue