From 40e9bd5abd3f06064f9b40d7d241731a52436f20 Mon Sep 17 00:00:00 2001 From: Jonny Gerig Meyer Date: Tue, 16 May 2023 16:33:08 -0400 Subject: [PATCH 1/8] Add anchor links for h3-6 --- source/community.md | 4 ++-- source/guide.liquid | 2 +- source/helpers/engines.ts | 2 +- source/libsass.md | 34 ++++++++++++++--------------- source/styleguide/color.liquid | 2 +- source/styleguide/components.liquid | 32 +++++++++++++-------------- source/styleguide/typography.liquid | 2 +- 7 files changed, 39 insertions(+), 39 deletions(-) diff --git a/source/community.md b/source/community.md index b61d490..366c6ea 100644 --- a/source/community.md +++ b/source/community.md @@ -29,13 +29,13 @@ complementary_content: | Please read and follow our [community guidelines](/community-guidelines). Thinking of **contributing** to Sass itself? We rely on everyone to keep Sass as -stable as it is. Feel free to [submit a patch via pull request](#Contribute) to +stable as it is. Feel free to [submit a patch via pull request](#contribute) to the Sass project. Want to create your own Sass implementation? Check out our [implementation guidelines](/implementation). -## Contribute {#Contribute} +## Contribute Sass is an [open source project][github] and we encourage you to contribute. You can contribute with [bug reports and feature requests][issues], and if you diff --git a/source/guide.liquid b/source/guide.liquid index b3b417c..07d31b7 100644 --- a/source/guide.liquid +++ b/source/guide.liquid @@ -204,7 +204,7 @@ partials are used with the `@use` rule. {% # retain older link %} -

Modules

+{{ '## Modules' | markdown }} {% render 'documentation/snippets/module-system-status' %} diff --git a/source/helpers/engines.ts b/source/helpers/engines.ts index 909db21..78d2eda 100644 --- a/source/helpers/engines.ts +++ b/source/helpers/engines.ts @@ -21,7 +21,7 @@ export const markdownEngine = markdown({ .use(markdownDefList) .use(markdownItAttrs) .use(markdownAnchor, { - level: [2], + level: 2, permalink: renderPermalink, }); diff --git a/source/libsass.md b/source/libsass.md index 872ce4c..b82b0d7 100644 --- a/source/libsass.md +++ b/source/libsass.md @@ -11,13 +11,13 @@ navigation: |