org-mode 能不能导出 toggle list ?

如题,有时候内容太多,想在导出的html上来个toggle list 不知道该怎么做

你会写js吗?

会一点,你有参考的例子吗?

根据不同的html结构应该制定不同的函数。下面这个对markdown生成的html有用。

     let finded = !0;
     let display = 'none';
     $(this).nextAll().filter(function(index,node){
        if(!finded && node.nodeName == "H2"){
           finded = !0;
        }
        return finded;
      }).css("display",display)
1 个赞

写好之后该如何配置?

百度搜索 emacs org html

1 个赞