简体   繁体   English

从knitr :: spin生成dokuwiki代码

[英]Generate dokuwiki code from knitr::spin

I have a script in R that I have marked up and that I convert to HTML using knitr::spin(). 我在R中有一个已标记的脚本,并使用knitr :: spin()转换为HTML。 I would like to include the output from this script into a dokuwiki wiki, but unfortunately the server doesn't allow me to include the native HTML diretly. 我想将此脚本的输出包含到dokuwiki Wiki中,但是不幸的是服务器不允许我直接包含本机HTML。 The question therefore is how can I "spin to Dokuwiki", rather than Markdown? 因此,问题是我该如何“旋转到Dokuwiki”而不是Markdown? Is there any quick and easily way to convert markdown to Dokuwiki? 是否有任何快速简便的方法将Markdown转换为Dokuwiki? And how can images be incorporated into this workflow? 以及如何将图像合并到此工作流程中?

Mark 标记

I'm not familiar with R and the library in question. 我对R和所涉及的库不熟悉。 But from your question it sounds that you can output markdown. 但是从您的问题看来,您可以输出降价促销。 A simple solution would be to use one of the available markdown plugins for DokuWiki to embed your content: 一个简单的解决方案是使用DokuWiki的可用markdown插件之一嵌入您的内容:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM