Get Showdown.js, which is required to change the style JSThis is their github, Https://github.com/showdownjs/showdown.But let's use the introduced Bootcdn showdown.min.js.http://www.bootcdn.cn/showdown/Introduction to the settings in the Web site HTMLOur article is in a div with ID PostcontEffect:Enable your site to support Markdown
Of course, in accordance with their own preferences, of course, can also make soket services, but after all, PHP to do the service is not very good, and with shell monitoring, so it is better to use the URL rewrite
The code is as follows
Copy Code
Location ~ ^ (. +\.md) (. *) {Rewrite. */md.php?file= $document _root$fastcgi_script_name last;}
4, in addition
Finally, add a default page to the Nginx Web service
Index index.html index.htm index.php index.m
the MD file introduced does not work, as follows:
The idea is to embed a web link in the script tag, and MD may not be able to recognize it (just guess), and then think of the link to the JS to file into a try. Click on the link directly to jump to the following page:
You can see the tag at the same time as a link, open again from the browser, and appear as follows:
In front of your present is full screen JS code, this is what we need JS file, that is, Baidu map of the JS code, it is selecte
Basic grammar of latex mathematical formula in Markdown
Formula Layout
There are two types of typesetting:-Inline formula: use \ or $ wrap formula-Independent formula: Wrap the formula with \$.For example:$ \sum_{i=0}^{n}i^2 $ represents ∑ni=0i2 \sum_{i=0}^{n}i^2$$ \sum_{i=0}^{n}i^2 $$ said∑i=0ni2 \sum_{i=0}^{n}i^2A few characters: # $% ~ _ ^ \ {} have special meaning, need to represent these characters, need to escape, that is, before each charact
This article briefly introduces the basic syntax of markdown, so that beginners can quickly get started and use this markup language.Title
Title (H1 ~ H6You can use the corresponding number of # To generate. The following code will generate H3:
### this is a level-3 header ###
Or use the bottom line form, use = (the highest level title) and-(the second level title ):
This is an H1=============This is an H2-------------Section and line feed
UseOne or m
I. Background
The documents written by our project developers are all markdown files. It is not very convenient for other groups of students to read. Every time I finish editing the markdown file, I use the software to convert the MD file into an HTML file. At the beginning of the turn, there is nothing, turn the number of times, I feel can not continue to do so. As a developer, let the machine do the tri
This period of time has been very infatuated with MarkDown, simple grammar, typesetting neat. It is absolutely good for you to sort the archive files often.So go to the Internet search some markdown software, don't say really many, various types, and then picked a few are not into the understanding, because I prefer to make the document into a PDF for easy access. But there are a lot of not this feature, th
CMD Markdown full Platform client download1. Offline use of the browser versionOnline editors ' heavy reliance on the Internet is a serious problem for those who are walking on the road, such as journalists, students, and travellers. In the absence of client time we hope that the browser can also take responsibility for offline editing, so we have the CMD Markdown version of the web itself to be able to use
1.1html-css-js prettify InstallationThe Html-csss-js prettify plugin uses the node version of Js-beautify, so you need to first install the Node,node installation and search for it yourself.After node installation is complete, use NPM to install js-beautify, command NPM install-g js-beautifyHtml-css-js prettify is recommended for installation with PackagecontrolCtrl+shift+p Enter the install package and enter the Html-css-js prettify for installation1.2.html-css-js prettify UseUse Ctrl+shift+h t
We can see a Web page Editor--markdown on some websites;This is a powerful rich text editor, before the use of their own web page encountered a little bit of a problem, and now share with youAfter we have written the article is need to save the content to the database, if you want to save to the database to be changed later, then need to save to markdown language, if saved as HTML language by reverse parse
Markdown Concise Grammar
Markdown is a minimalist "markup language" that converts text to HTML, which is usually used by large yards of farmers. It does not pursue all-inclusive, simplicity is supreme, is the so-called not seeking the most expensive, only the best.
This article introduces markdown basic syntax, little content, a line of syntax one line example, l
Markdownhttp://daringfireball.net/projects/markdown/2016-08-03Markdown is a markup language that uses simple marker symbols for Web page formatting for plain text, and then uses the compiler to convert it into rich, structured HTML documents.Markdown is stored in plain text format, the default suffix is MD, its format is easy to read and easy to edit. Using Markdown to write Help or description documents th
This article is mainly to share with you PHP markdown Document management tool implementation code, hope to help everyone.
Main objectives:
1. Can be edited by multiple people
2. You can view it in the browser
3 A directory that can be collapsed
4. Support multi-level directory
5. Support Markdown
6. Quick and easy
After work has been engaged in PHP development, from the previous embracing to the present ba
Markdown Basic SyntaxMarkdown is a markup language in plain text format. With a simple markup syntax, it can make normal text content have a certain format.Compared to the previous default TINYMCE editorAdvantages:1, because it is plain text, so long as support markdown place can get the same editing effect, can let the author get rid of the trouble of typesetting, concentrate on writing.2, simple operation
How to solve the problem of incorrect markdown image insert path
Mom, I wrote two blogs one day in a row. This blog is mainly about the incorrect markdown image insertion path.
In the previous article, I introduced the basic syntax of markdown and introduced how to insert images. however, one problem is that when an image is inserted in vscode, it can be perfectl
Http://dillinger.io/Dillinger
Dillinger is a cloud-enabled HTML5 markdown editor.
Type some markdown text in the left window
See the HTML in the right
Magic
Markdown is a lightweight markup language based on the formatting conventions that people naturally use in email.John Gruber writes onMarkdown site:
The overriding design goal for markdown's formatting
Markdown Common tips: 2015/12/19 16:05:18
Line Wrapping : Method 1: Two + spaces + carriage return Method 2: Wrapping labels with html language:
first line indent two characters : (each with a space, two consecutive) ensp; half-width spaces emsp; full-width spaces
font, font size, and color :Markdown is a markup language that can be written using an ordinary text editor, which can make plain text content fo
First look at the basic syntax of markdown (for ease of placing it in the code area, otherwise not good output)
# Markdown Syntax Brief rules
* * *
# title
title is the most commonly used format for each article, in Markdown, if a paragraph of text is defined as a title, just add the # number before the text. One # to six # represents Heading 1 to Heading 6 * * *
Using markdown for text editing has been almost three years, this time in my early 20 in the Christina, it seems to be almost a middle school, or a high school age. I had never thought of doing an amway so seriously on this matter. All in a variety of chat with enthusiasm to carefully recommended, but found little effect.As I grew older ... I found that I was more and more powerless to infect other people, and could no longer be able to shoot my breas
Recently, documents need to be written for some projects and systems in the group and published on the company's document platform. This platform does not support markdown. Therefore, we plan to create an online markdown editor that supports real-time preview, in addition, it is easy to migrate to the company documentation platform, so this markdoc is available.
Link: http://weareoutman.github.io/markdoc/
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.