-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
79 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
+++ | ||
title = "Center align" | ||
tags = ["body", "force", "line-break", "center-align"] | ||
draft = false | ||
+++ | ||
|
||
From [`C-h i g (org) Paragraphs`](https://orgmode.org/manual/Paragraphs.html): | ||
|
||
> If you would like to center some text, do it like this: | ||
> | ||
> ```org | ||
> #+begin_center | ||
> Everything should be made as simple as possible, \\ | ||
> but not any simpler | ||
> #+end_center | ||
> ``` | ||
<style>.org-center { margin-left: auto; margin-right: auto; text-align: center; }</style> | ||
<div class="org-center"> | ||
<div></div> | ||
Everything should be made as simple as possible, <br /> | ||
but not any simpler | ||
</div> | ||
## Testing emphasis in Org center block {#testing-emphasis-in-org-center-block} | ||
<style>.org-center { margin-left: auto; margin-right: auto; text-align: center; }</style> | ||
<div class="org-center"> | ||
<div></div> | ||
**bold** <br /> | ||
_italics_ <br /> | ||
~~strikethrough~~ | ||
</div> |