如何对齐rmarkdown呈现的左html_document? [英] How to align left html_document rendered by rmarkdown?
本文介绍了如何对齐rmarkdown呈现的左html_document?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
由于我对CSS并不熟悉,所以我想知道在渲染HTML页面时是否有一种简单的方法可以告诉我的rmarkdown页面以使其左对齐?
Since I am not familiar with css I was wondering if there is a simple way to "tell" my rmarkdown page to left align when rendering an HTML-page?
类似这样的东西:
---
title: "My html-page"
output:
html_document:
body_placement: left
---
推荐答案
也许是这样的:
---
title: "My html-page"
output: html_document
---
<style>
body {
position: absolute;
left: 0px;}
</style>
这篇关于如何对齐rmarkdown呈现的左html_document?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文