Coder Social home page Coder Social logo

my-markdown's Introduction

Markdown 轻量级文本编辑语言简介

  • 在纯文本文字的基础上,通过添加一些简明的符号,来实现很多常用的文档字体格式。

  • 与纯粹的txt文档相比,与纯文档的难度相当,但是Markdown的格式更加丰富,没有浏览器/软件转化为HTML网页的话也可以作为纯文本阅读,非常适合解释。

  • 本质上,是通过浏览器转化为HTML文档呈现在网页上。

支持六级标题:

我是一级标题

我是二级标题

我是三级标题

我是四级标题

我是五级标题
我是六级标题

支持字体的变化

  1. 加粗字体
  2. 斜体
  3. 加粗斜体

以上为有序列表,Markdown会自动排序。

链接🔗与图片

图片:《两只小狗狗》

  • 当链接失效的时候,显示《两只小狗狗》
  • 本质上,Markdown会被浏览器编辑为html文档,所以你可以随意添加HTML的元素,例如添加图像元素:

《两只小狗狗》

支持有一定复杂度的公式编辑(语法类似于LaTex)

$$ e^{ix} = \cos{x} + i \sin{x} $$

欧拉公式 $e^{ix} = \cos{x} + i \sin{x}$ 包含自然数$e$和虚数$i$。

代码块

Python code block

fruits = ['苹果', '香蕉', '梨']
print(lst)

JavaScript code block

let fruits = ['苹果', '香蕉', '梨']
console.log(fruits.length)

注意事项

转行

一行最后使用两个空格
两行中间空一整行

使用HTML行分割符
这是结尾行

表格

下面是一个表格:

列1(左对齐) 列2(居中) 列3(右对齐)
Header Title Here's this
Paragraph Text And more

引用

The secret to creativity is knowing how to hide your sources. -- Albert Einstein

Markdown使用场景:

总结:

  • 轻量级,快速有效
  • 与HTML结合效果很好:

《两只小狗》

- 复杂度有限,很复杂的公式,排版等还是要用其他工具如Word,LaTeX等

my-markdown's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.