欢迎使用 Ghost!Welcome to Ghost!
You're live! Nice. We've put together a little post to introduce you to the Ghost editor and get you started. You can manage your content by signing in to the admin area at <your blog URL>/ghost/
. When you arrive, you can select this post from a list on the left and see a preview of it on the right. Click the little pencil icon at the top of the preview to edit this post and read the next section!
Getting Started
Ghost uses something called Markdown for writing. Essentially, it's a shorthand way to manage your post formatting as you write!
Writing in Markdown is really easy. In the left hand panel of Ghost, you simply write as you normally would. Where appropriate, you can use shortcuts to style your content. For example, a list:
- Item number one
- Item number two
- A nested item
- A final item
or with numbers!
- Remember to buy some milk
- Drink the milk
- Tweet that I remembered to buy the milk, and drank it
Links
Want to link to a source? No problem. If you paste in url, like http://ghost.org - it'll automatically be linked up. But if you want to customise your anchor text, you can do that too! Here's a link to the Ghost website. Neat.
What about Images?
Images work too! Already know the URL of the image you want to include in your article? Simply paste it in like this to make it show up:
Not sure which image you want to use yet? That's ok too. Leave yourself a descriptive placeholder and keep writing. Come back later and drag and drop the image in to upload:
![A bowl of bananas]
Quoting
Sometimes a link isn't enough, you want to quote someone on what they've said. It was probably very wisdomous. Is wisdomous a word? Find out in a future release when we introduce spellcheck! For now - it's definitely a word.
Wisdomous - it's definitely a word.
Working with Code
Got a streak of geek? We've got you covered there, too. You can write inline <code>
blocks really easily with back ticks. Want to show off something more comprehensive? 4 spaces of indentation gets you there.
1 2 3 4 |
|
Ready for a Break?
Throw 3 or more dashes down on any new line and you've got yourself a fancy new divider. Aw yeah.
Advanced Usage
There's one fantastic secret about Markdown. If you want, you can write plain old HTML and it'll still work! Very flexible.
That should be enough to get you started. Have fun - and let us know what you think :)
Yeah,博客上线了!这篇文章的目的是向你介绍 Ghost 编辑器并帮你快速上手。通过 <your blog URL>/ghost/
链接就可以登录系统后台管理你的博客内容了。当你进入后台,你就能看到左侧文章列表处列出的这篇文章,右侧就是这篇文章的预览效果。点击预览栏右上角的铅笔图标就能进入内容编辑页面。
快速入门
Ghost 使用 Markdown 语法书写内容。简单来说,Markdown 就是一种简化的书写格式!
用 Markdown 语法写作是很容易的。在编辑界面的左侧就是你写作的地方。在你认为需要的时候,可以使用以下这些语法来格式化你的内容。例如下面这个无序列表:
- 第一项
- 第二项
- 层叠项
- 最后一项
还可以是有序列表:
- 记得买点牛奶
- 喝掉牛奶
- 发个微博说我记得买牛奶了,而且喝了
链接
如果要链接其它页面,可以直接把页面的 URL 粘贴过来,例如 http://ghost.org - 会被自动识别为链接。但是,如果你想自定义链接文本,可以像这样:Ghost 官网。很简单吧!
图片
插入图片也没问题!前提是你事先知道图片的 URL,然后像下面这样:
如果图片在本地的硬盘里怎么办?也很简单!像下面这样书写就能为图片预留一个位置,然后你可以继续写作,回头再通过拖拽的方式把图片上传到服务器上。
![一张图片]
引用
有些时候我们需要引用别人说的话,可以这样:
Wisdomous - it's definitely a word.
代码
或许你是个码农,需要贴一些代码到文章里,可以通过两个引号(Tab 键上面的那个键)加入行内代码 <code>
。如果需要加入大段的代码,可以在代码前加 4 个空格缩进,这就是 Markdown 的语法。
1 2 3 4 |
|
分割线
在任一新行输入 3 个或更多的短横线(减号)就是一条分隔线了。
高级用法
Markdown 还有一个特别用法,就是在你需要的时候可以直接书写 HTML 代码。
只要掌握了上面的这些介绍,你就已经入门了!继续写作吧!