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
Http://www.appinn.com/markdown/markdown Quick StartMarkdown Common Syntax:# titleEmphasis: Use the asterisk (*) and the Bottom line (_) as the symbol to emphasize the word, if your * and _ Both sides are blank, they will only be used as ordinary symbols* emphasis on * or **strong** or _ emphasis _ __strong__> Block ReferencesAn unordered list uses an asterisk, a plus, or a minus sign as a list marker, which
Dropplets-simple Markdown blog platform, droppletsmarkdown
Dropplets is a simple blog platform that focuses on providing exactly what you need in your blog solution. When it comes to basic blog functions, what you really want to do is write and post, and this is what Dropplets is extraordinary. Dropplets is a new platform dedicated to making blogs simple. Without a database, you can install it on any server in just 30 seconds, and then simply upload,
I. Introduction of MarkdownMarkdown is a lightweight markup language that can write documents in plain text format and easily convert documents into valid XHTML or HTML.Ii. markdown Syntax 2.1 Paragraphs and line breaks
ParagraphMust be blank line (blank or tab, etc.) before and afterAdjacent two lines of text if there are no empty rows in the middle of the same row
"Line Break"Wrapping within a paragraph requires at least two spaces at t
There are many markdown on the internet now, each has its own characteristics, but also has its own shortcomings. For example, some of the pictures are more troublesome, some export PDFs need to pay, some math formula editing more trouble and so on ...And recently contacted Typora, found that this is really a conscience of the markdown editor, the image upload is very convenient, and can export PDF, write a
Marking system: Essentials of Notes
Subject
Origin
Goal
Grade:
Details of the factual nature
Law
Law
Scope of application:
时间、地点、人物、起因、经过、结果,who what where when why how whom 6W1H
Action Guide
Plan
Alarm clock
Remind
Text annotation system bold, italic highlighting
【?? 】【!! 】【。。 "Speculation: Opinion, conclusion, description, narrative, statement, logicAdd textExamples of "eg":"Ref: Chemistry, Physics, Politics
From the internet for a long time about the markdown grammar articles, the opportunity is very small, most of the point is the same page https://github.com/adrai/flowchart.jsThis is an open source project on GitHub, and there's only a small piece of text that works for me.St=>Start: start|past:>http://Www.google.com[blank]e=>End:End:>http://Www.google.comop1=>Operation: My operation|pastop2=>Operation: stuff|currentsub1=>subroutine: My subroutine|inva
Use of the markdown tableFor example: $$ \BEGIN{ARRAY}{C|LCR} N \text{left} \text{center} \text{right} \ \hline 1 0.24 1 12 5 \ 2 -1 189 8 \ \ 3 -20 1+10i \ \end{array} $$A column style can be a CLR that represents a center, left, right, or a vertical bar that you can use |. The rows in the table are separated by \ \, and the columns are used delimited. Use \hline to add a straight line before the bank.A simple example is given below:\BE
way to express the source code is to use the number keys above the keyboard that line leftmost, the number 1 left of the ' symbol is enclosed, note is not single quotation marks. multi-line level source code multi-line level source code multi-line level source code multiline level source code multi-line levels of sources It can also be 行内级别的源码 .6. List of numbers
numeric list
list
list
list
number list
数字. 文字数字.(空格)文字7. Unordered List
Unordered
Original sync to: http://www.waylau.com/using-github-markdown-gitbook-write-open-source-books/ has been writing open source books on GitHub (see: http://www.waylau.com/books/) However, since GitHub's own directory structure does not necessarily conform to the habit of reading, and does not provide PDF, EPUB, MOBI and other formats for the conversion download. Many students are also accustomed to reading documents offline. Gitbook is a solution to this
I have a feature like this, when the user uploads the image file, it will be changed to the markdown format address, similar to
![](http://xxx.xxx.com/1.jpg)
I think this way of showing is too bloated and not very good-looking, but also exposes some unattractive directories
I found SF is similar to
![]![图片描述][1] [1]: /img/bVuIwN
I don't like it so much, but it's a great feature.The effect I want most is
![](10021555355)// 括号内一串特定的字符
Then I manipulat
GitBook is a command line tool (also a Node. js Library) that allows you to use GitHub/Git and Markdown to build beautiful programming books that can contain interactive exercises. GitBook supports creating books in multiple languages. Each language should be a subdirectory in the normal GitBook format, and the LANGS. md file under the root directory of the version library should be used.Articles you may be interested in
Unlimited creativity! A se
# Markdown File! [Alt img isERROR] (http://cdn2.jianshu.io/assets/web/logo-58fd04f6f0de908401aa561cda6a0688.png)! [Alt img isERROR] (Error) # # # I'm also the title ###### I'm also heading this is a363255751@qq .com> General paragraph //www.baidu.com>. ---***"www.baidu.com"> I am a hyperlink here is the reference* * I'm bold * * * I'm leaning *"www.baidu.com"> I am a hyperlink 3 is| right-aligned | $ the|| Col2 is| Centered | $ A|| Zebra Stripes |
Markdown Editor
Windows: 1. Markdownpad 2. Markpad
Mac: *mou
Linux: * Retext
Markdown syntax
1. Title
Copy Code code as follows:
# H1 # # h2By analogy until
###### h6
Note: #号和文字之间要有一个空格
2. Text Format
Copy Code code as follows:
* * Text Bold * *---> Add two * (asterisk) around the text to be bold
* Text Italic *---> Add a * (asterisk) around the text that y
Markdown is a very good markup language, more and more popular as editor of the syntax, Bootstrap is a front-end frame, then the problem comes, markdown picture tags such as:! [Alt] (URL), which is usually converted to HTML on the page, and how to add bootstrap to the picture at this time. img-responsive?
such as:
Use JS just fine:
Javascript
Don't forget to add in the head tag of the HTML:
Xhtml
Markdown Syntax Quick Check table 1 title and text format title# This is H1 Text Format* * This is text bold formatting * * This is text italic formatting *~~ add strikethrough on text ~ ~2 List unordered list* Project 1* Project 3Ordered list1. Item 12. Item 23. Item 3 * Item 1 * Item 23 Other Images! [Image name] (http://gitcafe.com/image.png)Link[Link name] (http://gitcafe.com)Reference> First line Reference text > second line Reference textHor
# Markdown tutorial#1. Set the titleIt is to add "#" in front of the text, and use "#" to indicate the level of titles. (A total of 1 ~ Level 6 title, 1 is the largest title)#2. Block comment> Add ">" to the beginning of the text to indicate block comments. When five spaces are added after ">", the text will have a border.#3. Set italicsUse one _ underline _ at both ends of the text to be set to italic, for example, __this is italic _, or use one ** a
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.