作家和博客作者如何充分利用WordPress的Markdown

Markdown in WordPress

This article is part of a series created in partnership with SiteGround. Thank you for supporting the partners who make SitePoint possible.

本文是与SiteGround合作创建的系列文章的一部分。 感谢您支持使SitePoint成为可能的合作伙伴。

Markdown is a quick and easy way to add formatting to a document. Most articles on SitePoint (including this one) started life that way. In fact, all submissions must be posted in Markdown format.

Markdown是一种向文档添加格式的快速简便的方法。 SitePoint上的大多数文章(包括该文章)都是以这种方式开始的。 实际上,所有提交都必须以Markdown格式发布。

You can use Markdown on your own blog or website. First, you need to choose a good web host – like our preferred web hosting provider, SiteGround, where you can even get WordPress pre-installed. Now you have the task of filling your blog with quality content. Markdown promises to make the process faster and simpler.

您可以在自己的博客或网站上使用Markdown。 首先,您需要选择一个好的虚拟主机-例如我们首选的虚拟主机提供商SiteGround ,您甚至可以在其中预装WordPress。 现在,您的任务是用高质量的内容填充博客。 Markdown承诺将使过程更快,更简单。

I use Markdown a lot, and that use is increasing. There’s something about it that I enjoy, that makes writing easier and faster—and somehow more pleasurable. I write in it professionally using Ulysses, take notes in it using Bear, and I’m even considering outlining in it using Outlinely. It’s becoming a big part of my online life, and I’m not alone. Consider making it part of your workflow.

我经常使用Markdown,而且这种使用正在增加。 我喜欢它的某些东西,它使写作变得更加轻松和快捷,并且从某种程度上讲更令人愉悦。 我使用Ulysses进行专业编写,使用Bear进行记录,甚至考虑使用Outlinely对它进行概述。 它正在成为我在线生活的重要组成部分,而且我并不孤单。 考虑将其纳入您的工作流程。

What benefits does Markdown bring to writers and bloggers? How can it improve your writing workflow? What does it have to do with WordPress? Read on to find out.

Markdown给作家和博客带来什么好处? 如何改善您的写作流程? 它与WordPress有什么关系? 请仔细阅读,找出答案。

降价是什么? (What Is Markdown?)

Markdown is not new. It was created by John Gruber way back in 2004. Since then it has really caught on—it’s key feature of many new apps, and is used by default on Reddit, GitHub, StackOverflow and a number of CMSs.

Markdown不是新的。 它由John Gruber于2004年创建。从那时起,它就真正流行起来,它是许多新应用程序的关键功能,默认情况下在Reddit,GitHub,StackOverflow和许多CMS上使用。

It’s a format for writing on the web. In fact, at its foundation, Markdown is a faster, cleaner way to create HTML. Well, not all of HTML, but the subset of it commonly used when writing posts and articles.

这是一种在网络上书写的格式。 实际上,Markdown的基础是创建HTML的更快,更清洁的方法。 嗯,不是全部HTML,而是撰写文章和文章时通常使用HTML的子集。

Gruber introduces the concept with these words:

Gruber用以下单词介绍了该概念

Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).

Markdown是面向Web作家的文本到HTML转换工具。 Markdown允许您使用易于阅读,易于编写的纯文本格式进行编写,然后将其转换为结构上有效的XHTML(或HTML)。

Rather than using complex (and ugly, hard-to-read) markup language, Markdown uses punctuation characters, with the goal of making writing (and reading) easier.

Markdown使用标点符号而不是使用复杂的(而且很难看懂的)标记语言,目的是使书写(和阅读)更加容易。

Here are a few examples, and you can learn more from John Gruber’s Syntax page.

这里有一些示例,您可以从John Gruber的Syntax页面中了解更多信息。

# This is a H1 header

## This is a H2 header

### This is a H3 header

This is *emphasized text* and this is **strong text**.

- This is a line from an unordered list.

1. This is a line from an ordered list.

> This is a blockquote.

Further reading:

进一步阅读:

降价如何使作家和博客作者受益? (How Can Markdown Benefit Writers and Bloggers?)

It’s good for writers, it’s good for editors, and it really can make a positive difference to your online writing. Here’s how.

这对作家有好处,对编辑者也有好处,并且确实可以对您的在线写作产生积极的影响。 这是如何做。

Markdown makes writing for the web faster.

Markdown使网络写作更快。

Here’s one thing that writers love: When you write in Markdown you don’t have to move fingers off the keyboard to add formatting. Everything you need is right under your fingers, and they can just keep on flying.

这是作者喜欢的一件事:在Markdown中书写时,无需移开手指即可添加格式。 您需要的一切都在您的指尖之下,它们可以不断飞行。

It requires less keystrokes than HTML, and is easier to learn than HTML. And because it’s simpler, there’s less to break—you won’t have missing closing tags or improperly formed HTML. They’re all good things. Your writing will be faster and less distracted.

它比HTML需要的击键次数更少,并且比HTML更易于学习。 而且,由于它更简单,因此中断的时间更少-您将不会丢失结束标记或格式不正确HTML。 他们都是好东西。 您的写作将更快,更分散注意力。

Markdown makes reading content easier.

Markdown使阅读内容更加容易。

Easy-to-read content is great for writers and editors alike. I edited HTML articles for years. The content can get lost in the code, but you do sort of get used to it.

易于阅读的内容对于作家和编辑者都非常有用。 我编辑HTML文章多年。 内容可能会丢失在代码中,但是您确实已经习惯了。

Markdown is much better. In fact, that’s it’s purpose—it’s primarily designed to make formatted web documents easier to read.

Markdown更好。 实际上,这就是目的,它的主要目的是使格式化的Web文档更易于阅读。

John Gruber explains:

约翰·格鲁伯(John Gruber) 解释说

Markdown is intended to be as easy-to-read and easy-to-write as is feasible. Readability, however, is emphasized above all else… To this end, Markdown’s syntax is comprised entirely of punctuation characters, which punctuation characters have been carefully chosen so as to look like what they mean. E.g., asterisks around a word actually look like *emphasis*. Markdown lists look like, well, lists. Even blockquotes look like quoted passages of text, assuming you’ve ever used email.

Markdown旨在尽可能地易于阅读和编写。 但是,首先要强调可读性。为此,Markdown的语法完全由标点符号组成,这些标点符号经过精心选择,以使其看起来像它们的含义。 例如,单词周围的星号实际上看起来像*强调*。 Markdown列表看起来很像列表。 假设您曾经使用过电子邮件,即使是块引用也看起来像是引用的文本段落。

Compare the HTML and Markdown below to see what I mean.

比较下面HTML和Markdown以了解我的意思。

<h2>This Is a Second-Level Heading</h2>

<p>Here is a paragraph with <strong>bold</strong> and <em>italic</em> text.</p>

<p>And here is an ordered list:</p>

<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ol>
##This Is a Second-Level Heading

Here is a paragraph with **bold** and *italic* text.

And here is an ordered list:

1. First item 2. Second item 3. Third item

Markdown improves the writing workflow.

Markdown改善了写作流程。

Writers should separate form and content. In other words, you shouldn’t be concerned about the final appearance of your content while you’re still crunching out words. One thing at a time is best practice.

作家应该分开形式和内容。 换句话说,当您仍在整理单词时,您不必担心内容的最终外观。 一次做一件事是最佳实践。

Markdown’s simple syntax really helps with this. Lists, block quotes and emphasis almost write themselves, and you don’t get distracted from the task at hand.

Markdown的简单语法确实对此有所帮助。 列表,大括号引号和重点几乎是自己写的,您不会对当前的任务分心。

Markdown allows you to use plain text, the most flexible file format that exists. You can choose from a wide variety of writing software, and Markdown’s simplicity allows all sorts of automation and scripting opportunities.

Markdown允许您使用纯文本(存在的最灵活的文件格式)。 您可以从各种各样的编写软件中进行选择,Markdown的简单性提供了各种自动化和脚本编写机会。

Markdown is portable and future-proof.

Markdown具有便携性和前瞻性。

When you write in Markdown, your documents are automatically cross-platform. You can copy from one app and paste into another regardless of the operating system or platform. There is no lock in, and you can convert Markdown to just about any format you like.

在Markdown中书写时,您的文档会自动跨平台。 您可以从一个应用程序复制并粘贴到另一个应用程序,而与操作系统或平台无关。 没有锁定,您可以将Markdown转换为您喜欢的几乎任何格式。

And it’s future-proof. Unlike your Word or Pages document, you’ll probably be able to open plain text in a decade or a century. It’s not a proprietary file format that will be discontinued or updated until it’s unrecognisable.

而且它是面向未来的。 与您的Word或Pages文档不同,您也许可以在十年或一个世纪内打开纯文本。 它不是专有文件格式,在无法识别之前将停止使用或更新该文件格式。

用Markdown编写 (Writing in Markdown)

Don’t write directly into WordPress in your browser—it’s too easy to lose your work. But don’t paste text directly from Microsoft Word either—it’s not pretty. Markdown apps are different. They’re a pleasure to write in, and because they’re designed for writing for the web, they work well with WordPress.

不要在浏览器中直接写入WordPress,这很容易丢失您的工作。 但是也不要直接从Microsoft Word中粘贴文本-这不是很漂亮。 Markdown应用不同。 他们很高兴能写,并且因为它们是专为Web编写的,所以它们与WordPress可以很好地配合使用。

Here is a list of some of the main Markdown writing apps for various platforms. It’s not an exhaustive list, so if we left out your favorite, tell us about it in the comment section below.

这是一些适用于各种平台的主要Markdown编写应用程序的列表。 这不是一个详尽的列表,因此,如果我们遗漏了您的收藏夹,请在下面的评论部分中告诉我们。

Online

线上

  • Stackedit.io, SitePoint’s recommendation. It supports offline mode, collaboration with comments, and built-in spell checking. It syncs with Google Drive and Dropbox, and is free.

    Stackedit.io ,SitePoint的推荐。 它支持脱机模式,与注释协作以及内置的拼写检查。 它与Google云端硬盘和Dropbox同步,并且是免费的。

  • Dillinger (free), also recommended by SitePoint, is “a cloud-enabled, mobile-ready, offline-storage, AngularJS powered HTML5 Markdown editor”. You can import and save files to/from GitHub, Dropbox, Google Drive and One Drive.

    同样由SitePoint推荐的Dillinger (免费)是“一种支持云的,可移动的,离线存储的,由AngularJS支持HTML5 Markdown编辑器”。 您可以将文件导入到GitHub,Dropbox,Google Drive和One Drive并从中保存文件。

  • Beegit (from $79 a month) is another online collaboration tool with native Markdown support. Learn more in our article A First Look at Beegit: The Collaborative Online Markdown Editor.

    Beegit (每月79美元起)是另一个具有本地Markdown支持的在线协作工具。 在我们的文章“ Begit初探:在线协作Markdown编辑器”中了解更多信息。

Mac

苹果电脑

  • Ulysses ($69.99) is a full-featured Markdown writing environment with the ability to convert to other popular formats, including HTML, PDF, ePub and DOCX. It’s also able to publish directly to WordPress.

    Ulysses ($ 69.99)是功能齐全的Markdown写作环境,能够转换为其他流行的格式,包括HTML,PDF,ePub和DOCX。 它也可以直接发布到WordPress。

  • Simplenote is a cross-platform note-taking service by Automattic (who bring you WordPress), and has Markdown support.

    Simplenote是Automattic(为您带来WordPress)提供的跨平台笔记记录服务,并具有Markdown支持。

  • Byword ($11.99) is a popular Mac and iOS Markdown text editor. It has a good balance between function and simplicity.

    Byword ($ 11.99)是流行的Mac和iOS Markdown文本编辑器。 它在功能和简单性之间具有良好的平衡。

  • Sublime Text ($70.00) can be used with Markdown. Find out how to set it up in our article 6 Ways to Turn Sublime Text Into the Perfect Blogging Tool.

    Sublime Text ($ 70.00)可以与Markdown一起使用。 在我们的文章6如何将Sublime Text变成完美的Blogging工具中找到如何设置它的方法

  • Texts is a Markdown editor for Mac and Windows. It converts Markdown to many formats, including PDF and Word.

    Texts是Mac和Windows的Markdown编辑器。 它将Markdown转换为多种格式,包括PDF和Word。

  • Mou is a free Mac Markdown editor I used in the past, but currently doesn’t support Sierra and above.

    Mou是我过去使用的免费Mac Markdown编辑器,但目前不支持Sierra及更高版本。

Windows

视窗

  • MarkPad is a popular open-source Windows app for writing in Markdown.

    MarkPad是一款流行的开源Windows应用程序,可以用Markdown编写。

  • MarkdownPad is a free Markdown editor for Windows. A pro version with additional features is available for $14.95.

    MarkdownPad是Windows的免费Markdown编辑器。 具有附加功能的专业版售价为14.95美元。

  • WriteMonkey is a free (donationware) Markdown app with a stripped down interface.

    WriteMonkey是一款免费的(捐赠软件)Markdown应用,界面简洁

  • Simplenote (see above).

    Simplenote(请参见上文)。
  • Sublime Text (see above).

    崇高文字(请参见上文)。
  • Texts (see above)

    文字(见上文)

iOS

的iOS

  • Ulysses ($38.99) (see above).

    尤利西斯(38.99美元)(见上文)。
  • Editorial ($4.99) is the most powerful iOS text editor with Markdown support and powerful automation tools. My favorite feature is folding of headings, so it can be used as an outliner.

    社论 (4.99美元)是功能最强大的iOS文本编辑器,具有Markdown支持和强大的自动化工具。 我最喜欢的功能是标题折叠,因此可以用作轮廓绘制器。

  • Byword (see above).

    副词(请参见上文)。
  • Simplenote (see above).

    Simplenote(请参见上文)。

Android

安卓系统

  • Draft ($2.49) is a Markdown editor for Android devices. It’s not available in Australia and some other countries yet.

    Draft ($ 2.49)是适用于Android设备的Markdown编辑器。 它在澳大利亚和其他一些国家尚不可用。

  • Simplenote (see above).

    Simplenote(请参见上文)。

将Markdown纳入WordPress (Getting Markdown into WordPress)

OK. Now that you have some Markdown-formatted content, how do you get it into WordPress? There are three strategies:

好。 现在,您已经拥有一些Markdown格式的内容,如何将其导入WordPress? 有以下三种策略:

  1. Convert your content to HTML before pasting it into the text view of WordPress’ edit post screen. Many of the apps mentioned above are capable of this, or you can use John Gruber’s Markdown app.

    在将内容粘贴到WordPress编辑帖子屏幕的文本视图之前,将其转换为HTML。 上面提到的许多应用程序都具有此功能,或者您可以使用John Gruber的Markdown应用程序。

  2. Ulysses is now capable of publishing directly to WordPress (either as a draft or a published post). I’m not sure if any other Markdown app is capable of this. Let us know in the comments if you know of one.

    Ulysses现在能够直接发布到WordPress(草稿或已发布的帖子)。 我不确定是否有其他Markdown应用程序能够做到这一点。 如果您知道其中一项,请在评论中让我们知道。
  3. Use Markdown in WordPress with the use of a plugin.

    通过插件在WordPress中使用Markdown。

By default, WordPress has no Markdown support. The awesome thing about WordPress is that you can add additional functionality with a plugin. The way these plugins handle Markdown is quite different, so choose carefully—you’ll need one that fits into your workflow and has the features that you need.

默认情况下,WordPress不支持Markdown。 关于WordPress的令人敬畏的事情是您可以使用插件添加其他功能。 这些插件处理Markdown的方式大不相同,因此请谨慎选择-您将需要一种适合您的工作流程并具有所需功能的插件。

If you intend to use a separate Markdown app for writing, and you’re happy to convert your content to HTML before pasting into WordPress, then you won’t need any of these. WordPress will never see Markdown. Alternatively, you can use Markdown QuickTags and convert to HTML from within WordPress.

如果您打算使用单独的Markdown应用进行编写,并且很乐意在粘贴到WordPress之前将内容转换为HTML,那么您将不需要任何这些。 WordPress永远不会看到Markdown。 另外,您可以使用Markdown QuickTag并将其从WordPress转换为HTML。

If you’d prefer to paste your Markdown into WordPress and leave it that way, you’ll need a plugin to render it into HTML on the fly, so it can be displayed in your visitors’ web browsers. Typewriter and Markdown for WordPress and bbPress are good choices. Just don’t deactivate the plugin, or your visitors will just see the Markdown version of the page!

如果您希望将Markdown粘贴到WordPress中并保持原样,则需要一个插件将其即时呈现为HTML,以便可以将其显示在访问者的Web浏览器中。 WordPress和bbPress的打字机和Markdown是不错的选择。 只是不要停用插件,否则您的访客将只看到页面的Markdown版本!

But if you need to work extensively with Markdown in WordPress, then have a look at Jetpack, WP-Markdown and PrettyPress. Out of these, Jetpack is the most widely used and supported, and has the benefit that it not only converts your Markdown to HTML automatically, it also keeps the Markdown version for future editing. On the other hand, if you value a preview pane so you can see how your Markdown will be rendered on the fly, take a look at PrettyPress.

但是,如果您需要在WordPress中使用Markdown进行广泛的工作,请查看Jetpack,WP-Markdown和PrettyPress。 其中,Jetpack被最广泛地使用和支持,其优点是它不仅可以自动将Markdown转换为HTML,还可以保留Markdown版本以备将来编辑。 另一方面,如果您重视预览窗格,以便可以实时查看Markdown的呈现方式,请查看PrettyPress。

When writing with Markdown, always use the text editor and not the visual editor. You’ll avoid surprises with formatting that way.

使用Markdown书写时,请始终使用文本编辑器而不是视觉编辑器。 这样可以避免意外。

Have we missed your favorite Markdown plugin? Let us know in the comments.

我们错过了您最喜欢的Markdown插件吗? 让我们在评论中知道。

1. 喷气背包 (1. Jetpack)

  • Cost: Markdown is available in Jetpack’s free plugin, though paid plans are available with additional themes, security features and support

    成本:Jetdown的免费插件中提供Markdown,但付费计划还提供其他主题,安全功能和支持
  • Active installs: 3+ million

    有效安装次数:3+百万
  • Rating: 4.1 out of 5 stars (1,347 reviews)

    评分:4.1,满分5星(1,347条点评)

Jetpack is probably the best way to work with Markdown in WordPress. Unlike many of the other plugins, it is well-supported, widely-used, and uses the Markdown Extra syntax by Michel Fortin which includes additional features like code blocks and tables. And it’s brought to you by Automattic, who bring you WordPress.

Jetpack可能是在WordPress中使用Markdown的最佳方式。 与许多其他插件不同,它得到了良好的支持,广泛的使用,并使用Michel Fortin的Markdown Extra语法,其中包括代码块和表等附加功能。 它是由Automattic带给您的,后者为您带来了WordPress。

You can use Markdown on your Jetpack-powered blog for posts, pages and comments.

您可以在支持Jetpack的博客上使用Markdown来发布帖子,页面和评论。

Jetpack - Markdown in WordPress

Your documents are saved in HTML format so your site will still look OK if the plugin is deactivated, but the Markdown copy is retained for future editing. This gives you the best of both worlds.

您的文档以HTML格式保存,因此,如果停用了该插件,您的站点仍然看起来不错,但Markdown副本会保留下来以备将来编辑。 这使您两全其美。

The original Markdown text you write will always remain in Markdown, this way you can go back and edit it using Markdown. Only the published document – the post or the page – will be converted. If you write a post in Markdown, it will be published as a fully formatted post on your blog, but when you go back and edit, it’ll still be in Markdown.

您编写的原始Markdown文本将始终保留在Markdown中,这样您就可以使用Markdown返回并对其进行编辑。 仅已发布的文档(帖子或页面)将被转换。 如果您在Markdown中撰写帖子,则该帖子将以全格式发布在您的博客上,但是当您返回进行编辑时,它仍将保留在Markdown中。

If you’re just installing Jetpack for the Markdown features, then have a look at JP Markdown.

如果您只是为Markdown功能安装Jetpack,请查看JP Markdown

2. WP-Markdown (2. WP-Markdown)

  • Cost: free

    费用:免费
  • Active installs: 4,000+

    有效安装:4,000+
  • Rating: 4.5 out of 5 stars (23 reviews)

    评分:4.5星(5星)(23条评论)

This plugin stores all of your content in HTML, but converts it to Markdown for editing.

该插件将所有内容存储为HTML,但将其转换为Markdown进行编辑。

This plug-in allows you to write posts (of any post type) using the Markdown syntax. The plug-in converts the Markdown into HTML prior to saving the post. When editing a post, the plug-in converts it back into Markdown syntax.

该插件允许您使用Markdown语法编写帖子(任何帖子类型)。 在保存帖子之前,该插件将Markdown转换为HTML。 编辑帖子时,插件会将其转换回Markdown语法。

WP-Markdown - Markdown in WordPress

The plugin hasn’t been updated in over two years. I haven’t come across any reports of problems, but test it before use.

该插件已超过两年未更新。 我没有遇到任何问题的报告,但是在使用前先进行测试。

3. PrettyPress (3. PrettyPress)

  • Cost: free, with a pro version (that gives shortcode previews) for $10

    成本:免费,带有专业版(可提供简码预览),价格为10美元
  • Active installs: 600+

    有效安装:600+
  • Rating: 4.7 out of 5 stars (13 reviews)

    评分:4.7分,满分5星(13条评论)

PrettyPress not only supports Markdown, but gives a live preview of your post while you type.

PrettyPress不仅支持Markdown,而且可以在您键入时实时预览您的帖子。

PrettyPress is a WordPress plugin that simplifies and smartens the way you write online. It rids distractions and bloated features, to give you exactly what you need to write posts quickly: a markdown editor and parser, a real-time live preview of your post, a distraction free environment.

PrettyPress是一个WordPress插件,可简化和智能化您的在线编写方式。 它消除了干扰和肿的功能,为您提供了快速撰写帖子的确切条件:降价编辑器和解析器,帖子的实时实时预览,无干扰的环境。

PrettyPress - Markdown in WordPress

Posts are stored in HTML and converted to Markdown as needed. Most reviews are very positive, but one user complained that the plugin doesn’t do a great job of converting from HTML back to Markdown when editing old posts. Your mileage may vary.

帖子以HTML存储,并根据需要转换为Markdown。 大多数评论都非常积极,但是一个用户抱怨说,在编辑旧帖子时,该插件在将HTML转换回Markdown方面做得不好。 你的旅费可能会改变。

4. WordPress和bbPress的Markdown (4. Markdown for WordPress and bbPress)

  • Cost: free

    费用:免费
  • Active installs: 500+

    有效安装:500+
  • Rating: 5 out of 5 stars (1 review)

    评分:5,满分5星(1条评论)

This plugin allows you to store your posts in Markdown format, and renders them to HTML on the fly.

此插件可让您以Markdown格式存储帖子,并即时将其呈现为HTML。

Markdown syntax allows you to write using an easy-to-read, easy-to-write plain text format.

Markdown语法使您可以使用易于阅读,易于编写的纯文本格式进行书写。

You can use it in conjunction with something like Markdown QuickTags (below) so you can leave your post in Markdown format for future editing.

您可以将其与Markdown QuickTags(如下)结合使用,以便将帖子保留为Markdown格式以备将来编辑。

5. Markdown QuickTags (5. Markdown QuickTags)

Cost: free Active installs: 300+ Ratings: 4.3 out of 5 stars (3 reviews)

费用:免费有效安装次数:300+评分:4.3星(5星)(3条评论)

Written by Brett Terpstra, this is a good option if you want to paste Markdown into WordPress and convert it to HTML with one click

由Brett Terpstra撰写,如果要将Markdown粘贴到WordPress并一键将其转换为HTML,这是一个不错的选择

Markdown QuickTags is a plugin for WordPress which replaces the HTML editor with a Markdown-enabled set of buttons and features. It can edit Markdown for saving, or render the finished Markdown to HTML, if you prefer. You can preview the rendered HTML at any time, and there’s even a full-screen editing mode.

Markdown QuickTags是WordPress的插件,它用启用了Markdown的按钮和功能集代替了HTML编辑器。 如果愿意,它可以编辑Markdown进行保存,或将完成的Markdown渲染为HTML。 您可以随时预览渲染HTML,甚至还有全屏编辑模式。

Markdown QuickTags - Markdown in WordPress

6. 打字机 (6. Typewriter)

  • Cost: free

    费用:免费
  • Active installs: 70+

    有效安装次数:70+
  • Rating: 5 out of 5 stars (7 reviews)

    评分:5,满分5星(7条评论)

Typewriter is a simple Markdown editor for WordPress.

Typewriter是适用于WordPress的简单Markdown编辑器。

Typewriter completely removes the “Visual Editor” feature in WordPress and replaces it with a simple Markdown editor.

Typewriter完全删除了WordPress中的“ Visual Editor”功能,并用简单的Markdown编辑器代替了它。

Typewriter - Markdown in WordPress

Your posts are stored in Markdown format, so if you disable the plugin, it won’t be pretty. This plugin hasn’t been updated in over two years.

您的帖子以Markdown格式存储,因此,如果禁用该插件,效果将不妙。 这个插件两年多来没有更新。

Markdown适合您吗? (Is Markdown for You?)

Does the idea of Markdown appeal to you? Are you keen to speed up your writing and simplify your WordPress workflow? Then try it.

Markdown的想法对您有吸引力吗? 您是否想加快写作速度并简化WordPress工作流程? 然后尝试一下。

It’s easy to get started—just do it! The more you use it, the more natural it will become, and you can learn the syntax one case at a time—John Gruber’s cheat sheet is an helpful resource. Use your favorite plain text editor, or choose one of the apps we recommend above.

入门很容易,只要做就可以! 使用的次数越多,它就会变得越自然,您就可以一次学习一种语法-John Gruber的备忘单是有用的资源。 使用您喜欢的纯文本编辑器,或者选择我们上面推荐的应用之一。

If you’re looking for somewhere to host your WordPress site after you’ve got your Markdown solution figured out, take a look at our partner, SiteGround. They offer managed WordPress hosting, with one-click installation, staging environments, a WP-CLI interface, pre-installed Git, autoupdates, and more!

如果您想出了Markdown解决方案之后想要在某个地方托管WordPress网站,请查看我们的合作伙伴SiteGround 。 他们提供托管的WordPress托管,一键安装,暂存环境,WP-CLI界面,预安装的Git,自动更新等!

Do you use Markdown? Let us know how it’s helped and which apps you use in the comments.

您是否使用Markdown? 让我们知道它的帮助以及您在评论中使用了哪些应用。

翻译自: https://www.sitepoint.com/writers-bloggers-can-make-markdown-wordpress/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值