doc-site
doc-site
.fastn
supports the Markdown
. Hence, instead of learning tags, one can still
create content-heavy and powerful website using plain text without missing out
on formatting.
Supporting Markdown
makes fastn
versatile as it also supports the
conversion of the marked-up text into various output formats such as HTML.
doc-site
package in your fastn projects and using
any of the component like ds.markdown
component, you gain access to
Markdown's intuitive and readable text formatting syntax.Markdown
is a way to write the content for the web.
headings
, images
and
code-block
instead we want you to use following components:
Elements | Components |
---|---|
heading | ds.h1 |
image | ds.image |
code-block | ds.code |
Markdown's simplicity, readibility, and portability as plain texts can be
easily shared and opened on any platform. Hence, using it in doc-site
makes
it a valuable tool for content creators and developers alike.
Markdown is widely used in blogging, instant messaging, online forums, collaborative software, documentation pages, and readme files.
It gives rich styling to the text.
doc-site
.To use the Markdown Syntax in your fastn projects using components of
doc-site
. The first thing is to add doc-site in your package and then use
the components of doc-site
package.
doc-site
in your package.
Add it as the fastn.dependency
in your FASTN.ftd
document.-- fastn.dependency: fastn-community.github.io/doc-site
doc-site
package in your documents like index.ftd
-- import: fastn-community.github.io/doc-site as ds
-- ds.markdown:
-- ds.markdown:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt.
-- ds.markdown:
**Bold Text** dolor sit amet, *Italic text* elit, sed do eiusmod tempor
incididunt.
-- ds.markdown:
Lorem ipsum [fastn](https://fastn.com/) amet, consectetur adipiscing
elit, sed do eiusmod tempor incididunt.
-- ds.markdown:
**Bullet list:**
- List item 1
- List item 2
- List item 3
- Sub List item 1
- Sub List item 1
**Ordered list:**
1. List item
2. List item
3. List item
1. Sub List Item
2. Sub List Item
3. Sub List Item
Bullet list:
~
symbol-- ds.markdown:
~The world is flat.~
-- ds.markdown:
X^2^
-- ds.markdown:
To create a Horizontal Rule we write
***
Thank you guys, keep watching these videos to learn more about fastn.
Support us by giving a star ⭐ on GitHub and join our fastn community on Discord.