From c32b0db50ce80975a01d4d235fc47bc88e841deb Mon Sep 17 00:00:00 2001 From: Luke Kysow <1034429+lkysow@users.noreply.github.com> Date: Thu, 7 Jan 2021 11:15:11 -0800 Subject: [PATCH] Add note about code duplication --- website/components/config-entry-reference/index.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/components/config-entry-reference/index.jsx b/website/components/config-entry-reference/index.jsx index 84860d6128..e7c1cdfc9e 100644 --- a/website/components/config-entry-reference/index.jsx +++ b/website/components/config-entry-reference/index.jsx @@ -81,6 +81,9 @@ function renderKey(key, isHCLTab) { const enterpriseAlert = key.enterprise && const keyLower = keyName.toLowerCase() + // NOTE: This code copies from https://github.com/hashicorp/remark-plugins/blob/df606efc844319a2532ec54e4cf6ff2d575108ff/plugins/anchor-links/index.js + // to ensure the styling of each bullet is correct. The two locations should be kept + // in sync. return (