Wechat official account: Yan Jia Dashao
Follow for more tutorials and typography tips. Questions or suggestions, please leave a message on the public account; If you find Md2All helpful, welcome to appreciate [^1]
### Content table (automatically generated by [TOC])
(TOC) # # # about website slow problem Site visit is not stable, sometimes can try different server server 1, http://md.aclickall.com server 2, http://md2.aclickall.com
Markdown supports “one-click layout”, custom CSS, and over 80 code highlighting. Markdown content can be copied to wechat official account, Blog Park, Gold Digging, Zhihu, CSDN, 51CTO, wordpress, Hexo with one click without any adjustment. Such as platform. Support automatic upload of pictures to the cloud bed; Latex mathematical formulas can be perfectly displayed on platforms such as official accounts. Support to generate HTML files with styles; It even supports typesetting directly with native HTML and CSS.
#### detailed tutorial Md2All detailed tutorial, please refer to: https://www.cnblogs.com/garyyan/p/8329343.html # # # # # to the public, to optimize the blog support code block, block of code is not correct, a new line and solve the common problem especially on the iphone, the device can scroll; Solve the problem of picture or style loss when pasting the content to the public number;
Support to “copy” pages directly to “CSDN” and “blog garden”, all the same style. Please refer to this post: http://blog.csdn.net/gary_yan/article/details/78645303 support the page directly to the “copy” in the “nuggets” : please refer to this post: https://juejin.cn/post/6844903517115678734 support the page directly to the “copy” to “zhihu, 51 cto,” worpress, hex… In the.
Note: Markdown syntax for code blocks is to add: ‘ ‘to both the beginning and end lines, where’ is the upper left corner of the Windows keyboard, as follows:
public class MyActivity extends AppCompatActivity { @Override //override the function protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); try { OkhttpManager.getInstance().setTrustrCertificates(getAssets().open("mycer.cer"); OkHttpClient mOkhttpClient= OkhttpManager.getInstance().build(); } catch (IOException e) { e.printStackTrace(); }}Copy the code
To precisely specify the language (such as Java, CPP, CSS, XML, javascript, python, PHP, go, kotlin, lua, objectivec, etc.), the head specified directly, such as: ` ` ` javascript, as follows:
function DisplayWindowSize(){
var w=window.innerWidth
|| document.documentElement.clientWidth
|| document.body.clientWidth;
}
Copy the code
If all the “code topics” do not meet your requirements, you can customize your favorite code highlighting by referring to “Code Block Styles” under “One-click Layout”
### image display
The following is the qr code picture of my official account, welcome to follow.Note: Markdown syntax for image links is:! [] ()
, such as:! [here write image description] (http://img.blog.csdn.net/20171012163602706)
, you can add the address of the web image directly to Markdown. By default, the image is centered. If you want to move to the left, open the CSS style under “One-click layout”img{margin:0 0; }
.[Write picture description here]
The description of the picture will be automatically generated at the bottom of the picture, corresponding to the stylefigcaption{}
Md2All supports cloud bed, after setting up the cloud bed, you can upload local pictures to the cloud bed automatically, and automatically generate markdown.Please refer to the cloud bed tutorial: https://www.cnblogs.com/garyyan/p/9181809.html
###Latex mathematical formulae (can be copied correctly to public accounts, etc.) : Latex mathematical formulae are automatically converted into images when copied, and uploaded to the cloud bed automatically. Automatically upload to cloud bed “). Please refer to: Md2All, so that the public account can display the Latex mathematical formula perfectly #### the formula in the line:……… Ex2 ≠ex2e^{x^2}\neq{e^x}^2ex2=ex2. #### block formula:……… Ex2 ≠ex2e^{x^2}\neq{e^x}^2ex2=ex2 H (D2) = – (24 + 24 log224 log224) = 1 H (D_2) = – (\ frac {2} {4} \ log_2 \ frac {2} {4} + \ frac {2} {4} \ log_2 \ frac {2} {4}) (D2) = = 1 H – (42) Log242 +42 log242)=1
The CSS style keywords corresponding to One-click layout are: . Katex ####Latex copy to the public account and other platforms special instructions ##### complex in-line formula (top and bottom of a lot of those highlighted), after conversion, if the display is incomplete, please change to block formula some complex in-line formula, after conversion, it may appear that the top and bottom of the highlighted part of the situation is not visible. I’ll just change it to a block formula. # # # # # # public newspaper pictures paste failure “, the perfect solution with cloud bed If you find that picture is copied to the public, times * * “paste failure” no. * *, it is because the public has a very strange question: when copying the tiny local images could be submitted to the “picture paste failure”, and other platform temporarily didn’t meet. The solution is to click the “Picture” icon, set the map bed information, and select “… , automatically uploaded to the cloud bed. Please refer to the cloud bed tutorial: https://www.cnblogs.com/garyyan/p/9181809.html # # # # # for “zhihu” solutions Zhihu is a fantastic website, will put all of your style restore to default, and the picture must be centered, Nor can you copy local images directly. Therefore, if you want to display normally on Zhihu, 1: use block formula only, or you can accept the in-line formula displayed on Zhihu as block formula; 2: set up the cloud bed, refer to the above public number set “picture” -> “… , automatically uploaded to the cloud bed.
###Tips #### Autosave Please click on the “Edit” icon in the upper left corner to start writing, so that you can automatically save your writing content. Currently, all saved content is stored in the local browser cache, so even if you reboot, these content will not be lost, but just to be safe, Before the account cloud synchronization function is enabled, back up important information by yourself. #### One-click Copy One-click copy please click copy in the toolbar, otherwise strange problems may occur.
#### one-click typesetting supports standard CSS. There are a number of style templates available, but because everyone has different preferences, if the existing style templates are not suitable for you, feel free to customize CSS styles. If you make a mistake, you just “restore the default value”, so don’t worry about it. Once you’ve mastered custom CSS styles, you’ll see just how powerful they are.
When you save the style of a theme, Md2All will use the style you saved for that theme by default, so when the theme style is updated in a new version of Md2All, you will need to “restore the default” to see the latest style. Before “Restore Defaults”, you may need to back up your previous changes, otherwise they will be overwritten. So, I suggest you save your styles under “Favorite Styles.”
#### Is incompatible with the browser. You are advised to use Google Chrome. When I use Google Chrome and Firefox, no problem is found. If you find strange problems, Google Chrome is recommended.
# # # # # # # Markdown basic grammar title support 6 kinds of the size of the title, the corresponding #, # #, # # #, # # # #, # # # # #, # # # # # #, and the style file of h1,… ,h6 such as #####H5 ###### h6 #### line code such as AppCompatActivity class, markDown line code syntax is used before and after: ‘, where ‘is the upper left corner of the Windows keyboard,
#### emphasize I emphasize #### try italicize #### emphasize italicize #### delete try to delete the link to the link to the link: I am the link to the link to the link,markdown syntax for the link is: [](), as in: [I am outside the chain links] (http://blog.csdn.net/gary_yan/article/details/78645303) # # # # try hyperlinks within the pages within the hyperlinks: I am a hyperlink within the page, note: you have to want to jump to place a similar: Anchor point for any content . Matched by id=”jump_1″.
#### Ordered list
- Ordered list 1
- Ordered list 2
- Ordered list 3
#### unordered list
- Unordered list 1
- Unordered list 2
- Unordered list 3
The #### reference block is simply preceded by >, as follows:
I’m the reference block
Wechat public account: Yan Jia Dashao welcome to follow me, learn together, progress together!
# # # # dividing line
###Markdown extends syntax
# # # # form
The class | The boy | The girl |
---|---|---|
A (7) class | 30 | 25 |
A class (8) | 25 | 30 |
Note: when the table is previewed on the official account, it may not be displayed correctly in full screen on the PC, but it will normally be displayed in full screen on the mobile phone.
#### Task List
- Task 1, completed;
- Task 2, completed;
- Task 3, not completed;
#### Footnote this is footnote 10. You can spot where I jumped. any content where 10 =”footnote-10″
# # # # TOC see table of contents is generated by (TOC) note: as long as the place: (TOC), can put the following headings such as: #, # #… ###### automatically generates a directory tree. Note that [TOC] is a separate line, with a blank line before and after it
If you know HTML and CSS, the following effects are not a problem:
=”jump_1″ =”jump_1″ =”jump_1″ =”jump_1″
Try to center your content
What about content to the right?
Let’s try the second line
Please refer to the “header highlight” style in “One-click typesetting” to modify the header: ###1 Try the header highlight
Note: in theory Md2All supports all standard HTML and CSS, but the problem is that many public accounts do not support, so the above shows only partial support.
### Version update record
1: Fixed an issue where code could not scroll horizontally on iPhone
1: Added highlight Dart, R, Delphi, VB (VBNet), VBS (VBScript), VBScript-HTML for the following languages
1: Combined with cloud map bed, the Latex formula may be reported as “picture paste failure” when copied to the official account; 2. Combined with cloud map bed, the problem of Latex formula being copied to Zhihu is solved; 4. Latex styles have been updated in the style files for one-click typeset, mainly in terms of display sizes. You may need to ** “restore default values” ** to see the new styles.
For more information, see: Md2All Version Update Record
I’m the in-page jump to location
111
- Footnote jump location ↩