mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-01 10:22:30 +02:00
docs: make localhost links clickable (#7582)
* docs: clickable localhost links * revert changes in auto-generated examples folder Co-authored-by: dht <dht@users.noreply.github.com>
This commit is contained in:
parent
7869e74fd7
commit
5c9e4a2dcd
17 changed files with 21 additions and 21 deletions
|
@ -51,7 +51,7 @@ export default function Hello() {
|
|||
}
|
||||
```
|
||||
|
||||
Once you save the file, the development server will automatically reload the changes. Now open `http://localhost:3000/helloReact` and you will see the new page you just created.
|
||||
Once you save the file, the development server will automatically reload the changes. Now open [http://localhost:3000/helloReact](http://localhost:3000/helloReact) and you will see the new page you just created.
|
||||
|
||||
Each page doesn't come with any styling. You will need to import the `Layout` component from `@theme/Layout` and wrap your contents within that component if you want the navbar and/or footer to appear.
|
||||
|
||||
|
@ -77,7 +77,7 @@ hide_table_of_contents: true
|
|||
How are you?
|
||||
```
|
||||
|
||||
In the same way, a page will be created at `http://localhost:3000/helloMarkdown`.
|
||||
In the same way, a page will be created at [http://localhost:3000/helloMarkdown](http://localhost:3000/helloMarkdown).
|
||||
|
||||
Markdown pages are less flexible than React pages because it always uses the theme layout.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue