aboutsummaryrefslogtreecommitdiff
path: root/_example/index.adoc
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2020-11-04 00:25:58 +0700
committerShulhan <ms@kilabit.info>2020-11-04 00:25:58 +0700
commit7103abb50eddcb88ec394c13767341ab7944c03e (patch)
tree009ef48302fda5e771ceb7bcddeb9e8d76f91ec7 /_example/index.adoc
parente2231815e7e5bc43f71f9b18224daa0886db50cd (diff)
downloadciigo-7103abb50eddcb88ec394c13767341ab7944c03e.tar.xz
all: revert support for markdown
This program only support asciidoctor markup only.
Diffstat (limited to '_example/index.adoc')
-rw-r--r--_example/index.adoc26
1 files changed, 5 insertions, 21 deletions
diff --git a/_example/index.adoc b/_example/index.adoc
index 81c3c9c..930d017 100644
--- a/_example/index.adoc
+++ b/_example/index.adoc
@@ -8,13 +8,9 @@ image:https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=whi
image:https://goreportcard.com/badge/github.com/shuLhan/ciigo[Go Report Card, link={url-gocard}]
`ciigo` is a library and a program to write static web server with embedded
-files using generated markup format.
-
-Currently, ciigo support
+files using
https://asciidoctor.org/docs/what-is-asciidoc/[asciidoc]
-and
-https://commonmark.org/[markdown]
-as markup format.
+markup format.
== ciigo as library
@@ -34,8 +30,8 @@ markup files, as HTML files.
$ ciigo [-template <file>] convert <dir>
----
-Scan the "dir" recursively to find markup files (.adoc or .md) and
-convert them into HTML files.
+Scan the "dir" recursively to find markup files (.adoc) and convert them into
+HTML files.
The template "file" is optional, default to embedded HTML template.
----
@@ -138,7 +134,7 @@ accessed by browser,
Hello, world!
----
-Run `go generate` to convert all files with extension `.adoc` (or `.md`)
+Run `go generate` to convert all files with extension `.adoc`
into HTML and embed it into `./cmd/mysite/static.go`
----
@@ -207,15 +203,3 @@ Using symlink on ".adoc" file inside `content` directory is not supported yet.
The source code for this software can be viewed at
https://github.com/shuLhan/ciigo
under custom link:/LICENSE[BSD license].
-
-
-== Credits
-
-This software is developed with helps from the following third party
-libraries,
-
-* https://github.com/bytesparadise/libasciidoc[libasciidoc].
- https://raw.githubusercontent.com/bytesparadise/libasciidoc/master/LICENSE[License].
-
-* https://github.com/yuin/goldmark[goldmark].
- https://raw.githubusercontent.com/yuin/goldmark/master/LICENSE[License].