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
7dfeda8e77
commit
bbbe6ab8f9
3 changed files with 8 additions and 0 deletions
|
|
@ -40,6 +40,8 @@
|
|||
(shell-file-name . "@SHELL@")
|
||||
(ess-ask-for-ess-directory . 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
|
||||
. ((:results . "file")
|
||||
(:exports . "results")
|
||||
|
|
|
|||
|
|
@ -107,6 +107,8 @@
|
|||
</div>")
|
||||
|
||||
(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)
|
||||
"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}
|
||||
img{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{
|
||||
#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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue