Org2blog如何添加read more tag

在org里了more tag (<!--more-->) post到wordpress上直接变成<p><!-more-></p>,并不能实现read more的功能。。。 求教有什么办法添加more tag.

System Info :computer:

  • OS: darwin
  • Emacs: 25.1.1
  • Spacemacs: 0.200.7
  • Spacemacs branch: develop (rev. 6212795)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: ivy

似乎这个标记是给 markdown 用的。 org 应该不支持直接嵌入 html 先导出 markdown 再上传?

这就有点蛋疼了,相对简单一点的是用org2blog/wp-post-buffer然后在打开的网页中选择添加more tag,但是人懒到一定境界了,还是觉得有点麻烦这样子。 在html模式下看到的more tag是plain text,像这样<!–more>。 而用org2blog上传上去的是

<!-more->

。不仅有p tag而且-也变成了一个。

你自己有看下文档中有没有说明如何添加吗?如果你 follow 了正确的方法还有问题的话,考虑向作者报告之。

文档里并没有说明,我已经新建了一个issue。

文档结尾有

How do I split a post into an introductory paragraph and a full view.
Just put in

#+HTML: <!--more-->
    
at the location where you wish to split the post.

不清楚是不是你想要的。

1 个赞

可以用,谢谢了:sweat_smile: