当 .md 文件用作具有 GitHub 页的页面时没有数字
No figures when .md file is used as page with GitHub pages
我正在为 website! 使用 GitHub 个页面。我将新页面添加为 md 文件,当没有包含数字时,它可以很好地工作。
然而,当我在 RStudio(.Rmd 文件)中进行一些分析时,最终的 md 文件在与 GitHub 页面一起使用时不显示任何图形或传单对象。当我直接包含 html 文件时,除了它看起来不像我网站的其余部分(当然是我想要的)之外,一切都很好。我不得不提一下,我使用的是 beautiful-jekyll template! by Dean Attali!.
的改编版本
我想知道为什么它不起作用。可能是由于某些 css 文件的问题。记住:当我加载 RStudio 的 html 输出时,一切都按预期显示。 Here!是相应 GitHub 存储库的 link。
我希望有人对此有答案。
谢谢!
注意:如果您无法访问 repository/files,您可以下载文件 here. It's the .Rmd as well as the output as .md and .html, and the .RData. As said before, including the .html works, but doesn't have the formatting according to my .css. .md fails in the way it doesn't show figures or leaflet objects, but the formatting is fine. Have a look。
现在,缺少数字的问题已经解决了。
- 必须小心放置包含所有图形的文件夹的位置。它必须与 .md 文件具有相同的路径。
- 此外,必须将 .md 文件中的嵌入从

更改为 
。
这些数字。现在我正在寻找一种处理传单对象的聪明方法。
我正在为 website! 使用 GitHub 个页面。我将新页面添加为 md 文件,当没有包含数字时,它可以很好地工作。
然而,当我在 RStudio(.Rmd 文件)中进行一些分析时,最终的 md 文件在与 GitHub 页面一起使用时不显示任何图形或传单对象。当我直接包含 html 文件时,除了它看起来不像我网站的其余部分(当然是我想要的)之外,一切都很好。我不得不提一下,我使用的是 beautiful-jekyll template! by Dean Attali!.
的改编版本我想知道为什么它不起作用。可能是由于某些 css 文件的问题。记住:当我加载 RStudio 的 html 输出时,一切都按预期显示。 Here!是相应 GitHub 存储库的 link。
我希望有人对此有答案。
谢谢!
注意:如果您无法访问 repository/files,您可以下载文件 here. It's the .Rmd as well as the output as .md and .html, and the .RData. As said before, including the .html works, but doesn't have the formatting according to my .css. .md fails in the way it doesn't show figures or leaflet objects, but the formatting is fine. Have a look。
现在,缺少数字的问题已经解决了。
- 必须小心放置包含所有图形的文件夹的位置。它必须与 .md 文件具有相同的路径。
- 此外,必须将 .md 文件中的嵌入从

更改为
。
这些数字。现在我正在寻找一种处理传单对象的聪明方法。