diff options
author | 2022-07-23 17:23:15 -0500 | |
---|---|---|
committer | 2022-07-23 17:23:15 -0500 | |
commit | 6e27a5fdc21276cad26cd50e16a2709a40a7cbac (patch) | |
tree | 65658fee080c5f8dfa06903cefc3d9736db6f409 /examples/docs/src/components/RightSidebar/MoreMenu.astro | |
parent | 1215e731b8a334fce364aca77bda1085f3679e57 (diff) | |
download | astro-6e27a5fdc21276cad26cd50e16a2709a40a7cbac.tar.gz astro-6e27a5fdc21276cad26cd50e16a2709a40a7cbac.tar.zst astro-6e27a5fdc21276cad26cd50e16a2709a40a7cbac.zip |
Rename Markdown util `getHeaders()` to `getHeadings()` (#4031)
* Renamed getHeaders() to getHeadings(), according to RFC #208.
* chore: update changeset
* fix: expose MarkdownHeading type from `astro`
Co-authored-by: Félix Sanz <me@felixsanz.com>
Co-authored-by: Nate Moore <nate@astro.build>
Diffstat (limited to 'examples/docs/src/components/RightSidebar/MoreMenu.astro')
-rw-r--r-- | examples/docs/src/components/RightSidebar/MoreMenu.astro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/docs/src/components/RightSidebar/MoreMenu.astro b/examples/docs/src/components/RightSidebar/MoreMenu.astro index a78f86d59..9b0e426cf 100644 --- a/examples/docs/src/components/RightSidebar/MoreMenu.astro +++ b/examples/docs/src/components/RightSidebar/MoreMenu.astro @@ -8,7 +8,7 @@ const showMoreSection = CONFIG.COMMUNITY_INVITE_URL || editHref; {showMoreSection && <h2 class="heading">More</h2>} <ul> {editHref && ( - <li class={`header-link depth-2`}> + <li class={`heading-link depth-2`}> <a class="edit-on-github" href={editHref} target="_blank"> <svg aria-hidden="true" @@ -32,7 +32,7 @@ const showMoreSection = CONFIG.COMMUNITY_INVITE_URL || editHref; </li> )} {CONFIG.COMMUNITY_INVITE_URL && ( - <li class={`header-link depth-2`}> + <li class={`heading-link depth-2`}> <a href={CONFIG.COMMUNITY_INVITE_URL} target="_blank"> <svg aria-hidden="true" |