哪些博客平台为开发者博主提供工具?
我正在寻找一个内置了编程相关内容工具的博客平台。例如,我见过一些博客,其中包含行号、颜色编码的行分隔、代码格式以及用于复制和粘贴代码示例的工具提示。其中一些比其他更好。 (我确信我不是这里唯一一个对带有发布源的博客条目感到恼火的人,如果不复制所有行号就无法复制)。所以,我的问题是社区为面向开发人员的博客推荐什么博客平台?
I am looking for a blogging platform that has built in tools for programming-related content. For example, I've seen blogs that have line-numbers, color-coded line separation, code-formatting and tool tips for copying and pasting code-samples. Some of these are better than others. (I'm sure I'm not the only one here who gets annoyed by blog entries with posted source that you can't copy without also copying all the line numbers). So, my question is what blogging-platform does the community recommend for a developer-oriented blog?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
呃……据我所知没有。此刻,你必须把零碎的东西拼凑起来。对于我自己的博客(Blogger,所以我的插件有限),我使用 突出显示代码转换器 来生成显示HTML/内联CSS,通过删除不必要的标记来清理它(默认设置假设您正在从代码创建整个网页),然后在我的博客文章中使用它。
er...none that i know of. at the moment, you have to get the bits and pieces together. for my own blog (Blogger, so i'm limited in addons), i use Highlight code converter to generate the display HTML/inline CSS, clean it up a bit (the default settings assume you're creating an entire web page from the code) by removing unnecessary markup, then using it in my blog posts.
Wordpress 具有使用一些插件的代码高亮功能,如果您打算自己托管它,那么使用 Wordpress 将是一个非常好的选择。
Wordpress has the code highligthing feature using some addins, if you are going to host it yourself it will be a very good option to use Wordpress.
BlogDown 是一个静态博客平台,因此可以托管在 GitHub 上。您可以使用 Markdown 文件编写帖子,它对代码片段有很好的支持。您也可以为其编写自己的主题和模块。与 Jekkyl 不同,BlogDown 没有编译步骤。您只需更换 Markdown 文件,就可以开始了。还值得注意的是,BlogDown 支持自定义渲染器。
BlogDown is a static blogging platform, so it can be hosted on GitHub. You can write posts with markdown files, which has great support for code snippets. You can write your own themes and modules for it also. Unlike Jekkyl, BlogDown does not have a compilations step. You just swap out the markdown files, and you're good to go. It's also worth noting that BlogDown supports custom renderers.