类似维基网站上短篇小说的最佳标记

发布于 2024-12-05 05:36:15 字数 733 浏览 1 评论 0原文

对于用户可以编辑任何内容的网站,用于编写短篇小说的最佳标记是什么? markitup 是一个很好的候选编辑器,支持以下标记:

  • Html
  • BBcode
  • Textile
  • Markdown
  • Wiki 语法
  • Dotclear

这看起来像流行标记的一个很好的列表。选择哪个?以下是我的想法:

  • Html 是领跑者,因为它无处不在,因此具有长久的生命力。
  • Markdown 是 Html 的一种流行且有吸引力的替代品,用于像我的需求这样更简单的富文本写作。也许有吸引力,因为我已经习惯了 SO?
  • ckeditor 这样的所见即所得编辑器通常只适用于 Html。
  • 由于 wiki 的性质,我想展示一些不错的差异。我认为 Markdown 代码看起来比 Html 代码更好看。或者,我可以利用更可能的现有库来比较渲染的 Html。
  • 网站内页面的链接是特殊的。图像应在悬停时具有当前描述和当前标题,配置文件应具有当前名称作为链接文本等。
  • 我​​喜欢 Markdown功能有限,这几乎是短篇小说所需要的。

For a site where users can edit anything, what's the best markup to use for writing short stories? markitup is a good candidate editor for this and supports the following markups:

  • Html
  • BBcode
  • Textile
  • Markdown
  • Wiki syntax
  • Dotclear

This seems like a good list of the popular markups out there. Which to choose? Here are my thoughts:

  • Html is the front-runner due to its ubiquitousness and, therefore, longevity.
  • Markdown is a popular and attractive alternative to Html for simpler rich text writing like my needs.. maybe attractive because I'm used to it with SO?
  • WYSIWYG editors like ckeditor often only work with Html.
  • Because of the wiki nature, I want to show nice diff's. I imagine Markdown code looks a lot nicer diff'd than Html code. Alternatively, there are more likely existing libraries I could take advantage of to diff rendered Html.
  • Links to pages within the site are special. Images should have their current description upon hovering and current caption, profiles should have as link text the current name, etc.
  • I love that Markdown has limited functionality which is pretty much what a short story needs.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

随梦而飞# 2024-12-12 05:36:15

我正在 Dotclear 博客上发表短篇小说。说到经验,我认为 Dotclear 标记很棒,但不适应有一个很大的原因:它忽略“enter”,你必须写“%%%”来强制换行,这在对话框中尤其痛苦。

写作时,您要考虑写作本身,而不是标记。大多数故事根本不使用任何标记。时不时有几个斜体,一个标题,仅此而已。

我的建议是:采用一个现有的故事,将其转换为标记,然后采用文本正文中内容较少的故事。

I'm publishing short stories on a Dotclear blog. Speaking of experience, I think that Dotclear markup is great but not adapted for one huge reason: it ignores "enter", you have to write "%%%" to force a new line, which is especially painful in dialog.

When writing, you want to think on the writing itself, not the markup. Most of stories don't use any markup at all. A few italic from time to time, a title, that's all.

My advice would be: take an existing story, convert it to the markup and take the one with less stuffs in the body of the text.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文