branch: externals/valign
commit 21a397a9a854a4ea698616918e2791f0ca44737e
Author: Yuan Fu <[email protected]>
Commit: Yuan Fu <[email protected]>
Update README
* README.org: Add pictures and new customization.
* table-multi.png: Remove file.
* table-single.png: Remove file.
* fancy-bar.png: Add file.
* single-column.png: Add file.
* table-multi.png: Add file.
---
README.org | 13 ++++++++-----
default.png | Bin 0 -> 235887 bytes
fancy-bar.png | Bin 0 -> 244062 bytes
single-column.png | Bin 0 -> 234038 bytes
table-multi.png | Bin 82447 -> 0 bytes
table-single.png | Bin 85118 -> 0 bytes
6 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/README.org b/README.org
index 2e9b94e..e443389 100644
--- a/README.org
+++ b/README.org
@@ -7,19 +7,22 @@ To use this package, load it and add ~valign-mode~ to
~org-mode-hook~ or ~markdo
(add-hook ’org-mode-hook #’valign-mode)
#+end_src
-#+ATTR_ORG: :width 300px
-[[./table-multi.png]]
+[[./default.png]]
Know problems:
+- Customizing ~org-table~ face seems to mess up the separator (it will
disappear).
- ~org-ident~ breaks the alignment. It uses line-prefix, and we don’t support
it right now.
- Hidden links in markdown still occupy the full length of the link, because
it uses character composition, which we don’t support now.
- Editing large tables (≥100 lines) is a bit laggy.
* Customization
-You can get the style below by customizing ~valign-separator-row-style~.
+Set ~valign-fancy-bar~ to ~non-nil~:
-#+ATTR_ORG: :width 300px
-[[./table-single.png]]
+[[./fancy-bar.png]]
+
+Set ~valign-separator-row-style~ to ~single-column~:
+
+[[./single-column.png]]
* If function advice makes you itch
~valign-mode~ adds advices and don’t remove them even if you close
~valign-mode~ because function advice is global and ~valign-mode~ is local. If
you want to remove the advices, use ~valign-remove-advice~. If you run this
while some buffer still has ~valign-mode~ on, they break. So there is no point
running it, really. Just accept it.
diff --git a/default.png b/default.png
new file mode 100644
index 0000000..460f0e7
Binary files /dev/null and b/default.png differ
diff --git a/fancy-bar.png b/fancy-bar.png
new file mode 100644
index 0000000..64d090d
Binary files /dev/null and b/fancy-bar.png differ
diff --git a/single-column.png b/single-column.png
new file mode 100644
index 0000000..0c8cbbd
Binary files /dev/null and b/single-column.png differ
diff --git a/table-multi.png b/table-multi.png
deleted file mode 100644
index ff69c28..0000000
Binary files a/table-multi.png and /dev/null differ
diff --git a/table-single.png b/table-single.png
deleted file mode 100644
index 90e19b0..0000000
Binary files a/table-single.png and /dev/null differ