org: better display for CSV tables
* doc/org/.dir-locals.el.in, doc/org/init.el.in (org-html-table-header-tags): Define. * doc/org/spot.css: Style the tables.
This commit is contained in:
parent
8a96828d85
commit
14f5d1ec65
3 changed files with 8 additions and 0 deletions
|
|
@ -40,6 +40,8 @@
|
||||||
(shell-file-name . "@SHELL@")
|
(shell-file-name . "@SHELL@")
|
||||||
(ess-ask-for-ess-directory . nil)
|
(ess-ask-for-ess-directory . nil)
|
||||||
(org-export-html-postamble . nil)
|
(org-export-html-postamble . nil)
|
||||||
|
(org-html-table-header-tags .
|
||||||
|
'("<th scope=\"%s\"%s><div><span>" . "</span></div></th>"))
|
||||||
(org-babel-default-header-args:plantuml
|
(org-babel-default-header-args:plantuml
|
||||||
. ((:results . "file")
|
. ((:results . "file")
|
||||||
(:exports . "results")
|
(:exports . "results")
|
||||||
|
|
|
||||||
|
|
@ -107,6 +107,8 @@
|
||||||
</div>")
|
</div>")
|
||||||
|
|
||||||
(setq org-export-html-postamble nil)
|
(setq org-export-html-postamble nil)
|
||||||
|
(setq org-html-table-header-tags
|
||||||
|
'("<th scope=\"%s\"%s><div><span>" . "</span></div></th>"))
|
||||||
|
|
||||||
(defun spot-publish-sitemap (title list)
|
(defun spot-publish-sitemap (title list)
|
||||||
"Same as org-publish-sitemap-default except it adds the SETUPFILE."
|
"Same as org-publish-sitemap-default except it adds the SETUPFILE."
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,10 @@ pre.src-C\+\+:before{content:'C++'}
|
||||||
pre.src-hoa:before{content:'HOA';border-color:#d70079}
|
pre.src-hoa:before{content:'HOA';border-color:#d70079}
|
||||||
img{max-width:100%}
|
img{max-width:100%}
|
||||||
svg.org-svg{width:auto;max-width:100%}
|
svg.org-svg{width:auto;max-width:100%}
|
||||||
|
table.csv-table {font-family:monospace, courier}
|
||||||
|
table.csv-table th {vertical-align:bottom}
|
||||||
|
table.csv-table th div {text-align:center}
|
||||||
|
table.csv-table th div span{text-align:left;writing-mode:vertical-lr;transform:rotate(180deg);display:inline-block;white-space:nowrap}
|
||||||
@media screen{
|
@media screen{
|
||||||
#table-of-contents{position:fixed;right:0em;top:0em;max-width:50%;max-height:80%;overflow:auto;z-index:10}
|
#table-of-contents{position:fixed;right:0em;top:0em;max-width:50%;max-height:80%;overflow:auto;z-index:10}
|
||||||
#table-of-contents #text-table-of-contents{display:none}
|
#table-of-contents #text-table-of-contents{display:none}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue