-
Notifications
You must be signed in to change notification settings - Fork 1k
fix(README): Resolve markdownlint issues #469
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,7 +47,7 @@ A production-ready example of a multi-tenant application built with Next.js 15, | |
| 3. Set up environment variables: | ||
| Create a `.env.local` file in the root directory with: | ||
|
|
||
| ``` | ||
| ```javascript | ||
| KV_REST_API_URL=your_redis_url | ||
| KV_REST_API_TOKEN=your_redis_token | ||
| ``` | ||
|
|
@@ -59,8 +59,8 @@ A production-ready example of a multi-tenant application built with Next.js 15, | |
| ``` | ||
|
|
||
| 5. Access the application: | ||
| - Main site: http://localhost:3000 | ||
| - Admin panel: http://localhost:3000/admin | ||
| - Main site: <http://localhost:3000> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Inconsistent URL formatting where two URLs use markdown link format but the third remains in plain text. View Details📝 Patch Detailsdiff --git a/README.md b/README.md
index 178364c..ca39f97 100644
--- a/README.md
+++ b/README.md
@@ -61,7 +61,7 @@ A production-ready example of a multi-tenant application built with Next.js 15,
5. Access the application:
- Main site: <http://localhost:3000>
- Admin panel: <http://localhost:3000/admin>
- - Tenants: http://[tenant-name].localhost:3000
+ - Tenants: <http://[tenant-name].localhost:3000>
## Multi-Tenant Architecture
AnalysisThe URLs in the "Access the application" section have inconsistent formatting. Lines 62-63 use markdown angle bracket format ( In markdown viewers, the angle bracket format creates clickable links, while plain text URLs may not be automatically converted to links depending on the viewer. RecommendationMake all URLs consistent by either:
The angle bracket format is recommended as it ensures the URLs are clickable links in markdown viewers. |
||
| - Admin panel: <http://localhost:3000/admin> | ||
| - Tenants: http://[tenant-name].localhost:3000 | ||
|
|
||
| ## Multi-Tenant Architecture | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code block for environment variables is incorrectly labeled as
javascriptwhen it should be a plain text or.envformat.View Details
Analysis
The environment variables code block is marked with
javascriptsyntax highlighting, but.env.localfiles use a simpleKEY=valueformat, not JavaScript syntax. This incorrect labeling could confuse developers about the proper format for environment variables and may cause syntax highlighting to display incorrectly in documentation viewers.Environment variable files use a plain text format where each line contains a key-value pair separated by an equals sign, without quotes, semicolons, or other JavaScript syntax elements.
Recommendation
Change the code block language from
javascriptto either no language specifier (empty) or usebash,.env, ordotenvfor more appropriate syntax highlighting. For example: