Replies: 2 comments
-
We have built-in |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi ! Thank you for that quick answer. my apologies for not being clear. are you saying i don't have to do anything and that its already enabled by default ? I am not seeing comments being automatically removed now. here is my velite configuration. are you saying i should add it to my plugins then it will be automatically removed ? export default defineConfig({
root: "content",
output: {
data: ".velite",
assets: "public/static",
base: "/static/",
name: "[name]-[hash:6].[ext]",
clean: true,
},
collections: {
configs,
posts,
mobile,
navigation,
pages,
// zposts,
derived,
},
mdx: {
rehypePlugins: [
rehypeSlug,
[
rehypePrettyCode,
{
theme: "one-dark-pro",
keepBackground: false,
},
],
[
rehypeAutolinkHeadings,
{
behavior: "wrap",
properties: {
className: ["subheading-anchor"],
ariaLabel: "Link to section",
},
},
],
],
remarkPlugins: [],
},
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi.
I am not sure if this is a bug so i am reporting it as discussion. also not sure where the issue is coming from.
if i put the below comments right below the front matter section it ends up in the excerpt in
/.velite/posts.json
. The expectation was that this would be ignored. Is there a work around beside moving the comments ?Beta Was this translation helpful? Give feedback.
All reactions