Some novice think the use of Markdown station has a flaw is the need for server support, such as jeklly or higridcms, in fact, higrid that is not the case. To only static space friends, Higrid introduced a static rendering Markdown, is strapdown.js. Using Strapdown.js is markdown to HTML JavaScript and has an interface effect that doesn't require you to write CSS styles, just write markdown in HTML pages, He will parse the text you write and then display a good layout for the user experience in the browser.
Write a minimalist static blog using strapdown.js and markdown
Since Strapdown.js has this usefulness, some minimalist can fully use strapdown.js and markdown to write a blog, and this blog is really a minimalist static blog, should be the most technical control of love, not to say? Site technology is the most important, do not need to consider the interface, minimalist static blog is our pursuit.
Okay, no, let's take a look at Strapdown.js's usage.
The official introduction is this: Strapdown.js makes it embarrassingly simple to create elegant markdown documents. No server-side compilation required. Use it to quickly document your projects, create tutorials, home pages, etc. (for example, the page you are reading is GE Nerated by Strapdown). Simply Copy the HTML template below and drop it on any static file server:
Simply put: Strapdown.js can make you very simple to create elegant markdown documents, without server-side compiler support, simply copy the HTML code and modify the title and markdown text.
Project home: http://strapdownjs.com/
Download Address: Https://github.com/arturadib/strapdown
Features
Search-engine Friendly
Cross-browser compatible (tested with mobile Safari, IE 8/9, Firefox, Chrome)
github-flavored markdown (tables, syntax highlighting, etc)
Themeable
A typical page:
< html>
< Title>hello strapdown
< XMP theme= "United" >
# markdown text goes in
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor ut incididunt
ET dolore magna Aliqua. UT enim ad minim veniam quis nostrud exercitation ULLAMCO laboris ut
Aliquip ex ea commodo consequat. Duis aute irure dolor in Reprehenderit in voluptate velit
Cillum dolore eu fugiat nulla pariatur. Excepteur Sint Occaecat Cupidatat non proident, sunt in
Culpa qui officia deserunt mollit anim ID est laborum.
Using PHP will make strapdown.js and markdown more efficient
Use Strapdown.js write Markdown of course there is no problem, the existence of the flaw is the entire site is static, when more blog articles on the organization is not convenient. Now a lot of people have dynamic space, plus PHP a little bit of code, you can make a blog, of course, online also have ready-made, the name is singularity, the name used too much, online search out a lot of is not, after a careful search of Higrid, the author of the original and we are a Chinese , but his site is in English.
Higrid now put singularity recommend to everyone, see demo and download, hope you like.
The current version Higrid that there is a flaw in the title can not be SEO, lack of articles list, article label function, but this is also a very simple function on the finish, the back Higrid will be introduced to. This article links http://www.cxybl.com/html/wyzz/JavaScript_Ajax/20130601/38177.html
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.