Skip to content

prompt_content tag#2790

Merged
atharvadeosthale merged 3 commits intoai-docsfrom
prompt-content
Mar 9, 2026
Merged

prompt_content tag#2790
atharvadeosthale merged 3 commits intoai-docsfrom
prompt-content

Conversation

@atharvadeosthale
Copy link
Member

No description provided.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 9, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: db7288d1-f0ad-4659-9349-ad90f57be439

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch prompt-content

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Comment on lines +17 to +19
const md = new MarkdownIt('commonmark');

md.renderer.rules.fence = (tokens, idx) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to use svelte-markdown, that way we can use native svelte and not html strings 👍🏻

for example https://github.com/appwrite/website/blob/main/src/routes/threads/%5Bid%5D/MessageCard.svelte

layout: article
title: Next.js
description: Quickstart prompt for integrating Appwrite with Next.js.
prompt: /docs/quick-starts/nextjs
Copy link
Contributor

@TorstenDittmann TorstenDittmann Mar 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also why not just pass this to the markdoc component?

we dont really need it in frontmatter anymore right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from discord, sharing here for transparency

thanks for reminding i forgot to port this over from other PR

the prompt frontmatter on top is so that the page can have the copy prompt button at the top from a prompt.md located elsewhere

@atharvadeosthale atharvadeosthale merged commit 7eafc7b into ai-docs Mar 9, 2026
6 checks passed
@atharvadeosthale atharvadeosthale deleted the prompt-content branch March 9, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants