http-server
test pageThis is a test page for http-server
.
This page is generated automatically by http-server
using the latest release found in the original repository. The page is generated using a GitHub Action and contains examples of most of the supported features by the server.
Below, you'll find some examples of Markdown content. The file-types
folder contains examples of different file types that can be served by http-server
, images
contains images, and subfolder-markdown
contains a subfolder with a Markdown README
file that automatically renders when entering the site.
Finally, website/
contains a simple, pure HTML website that can be served by http-server
and is used to test the practical flow of the server.
For all these actions, the command executed to start the server is:
http-server --port 8000
And wget
is used in crawl mode to download the website and all its contents, creating a static copy.
For more information, visit the original repository.
This is a test section for Markdown. All headings work as intended (as seen in this page).
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vulputate tristique metus, at consequat erat dignissim ac. Aenean in ligula tempus, rutrum neque eu, ornare tellus. Maecenas quam risus, ornare a ultrices nec, posuere quis nunc. Nulla metus nisl, bibendum vitae magna sed, consequat pellentesque odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam a nisl eu augue pellentesque porta porttitor eget felis. Quisque facilisis feugiat justo a elementum. Suspendisse dignissim vitae felis ac commodo. Fusce vitae quam hendrerit, commodo sapien id, posuere nisl. Vestibulum fringilla at tortor cursus tempus. Nunc neque lacus, placerat non lorem id, mattis imperdiet risus.
Cras et ex ligula. Vivamus maximus id elit malesuada tincidunt. Duis vitae consequat felis. Suspendisse quis risus eu sapien pharetra eleifend. Nulla pharetra aliquet elit. Fusce gravida rhoncus nisl, in gravida augue semper ut. Nunc ac ex tempus, feugiat velit id, viverra justo.
Hello World!
These are all the admonitions supported by http-server
, following the implementation on GitHub Markdown:
Note
Highlights information that users should take into account, even when skimming.
This is a second paragraph of the note.
Tip
Optional information to help a user be more successful.
Important
Crucial information necessary for users to succeed.
Warning
Critical content demanding immediate user attention due to potential risks.
Caution
Negative potential consequences of an action.
This is a footnote1 and this is another one2.
This example is in the mermaid-example.md
file.
The following code fence is set to Javascript, however there's no syntax highlighting.
let foo = "bar";
console.log(foo);
myfunc(() => {
console.log("callback");
});
Header 1 | Header 2 | Header 3 |
---|---|---|
Cell 1 | Cell 2 | Cell 3 |
Cell 4 | Cell 5 | Cell 6 |
This is a blockquote.