Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: combine 'index.html' and 'main.js' using <CodeBlockTabs /> #1603

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

alexisintech
Copy link
Member

Important

🔎 Previews:

Explanation:

Many examples in the JS docs say something like:

For the following example, your HTML file should look like this:

<code example>

And your JavaScript file should look like this:

<code example>

Instead, we can simply write:

Use the following tabs to view the code necessary for each file.

<CodeBlockTabs options={["index.html", "main.js"]}>

@alexisintech alexisintech requested a review from a team as a code owner October 4, 2024 21:32
Copy link

github-actions bot commented Oct 4, 2024

Hey, here’s your docs preview: https://clerk.com/docs/pr/1603

@alexisintech alexisintech changed the title chore: Combine 'index.html' and 'main.js' using CodeBlockTabs chore: combine 'index.html' and 'main.js' using <CodeBlockTabs /> Oct 4, 2024
@alexisintech alexisintech merged commit 013d28c into main Oct 8, 2024
4 checks passed
@alexisintech alexisintech deleted the aa/DOCS-9241 branch October 8, 2024 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants