Markdown table column alignment #1050
The alignment information were already in the generated html. The css was the only thing missing, so I added it.
This commit is contained in:
		| @@ -163,6 +163,12 @@ body { | |||||||
|   padding: 0.2em 0.5em 0.2em 0.5em; |   padding: 0.2em 0.5em 0.2em 0.5em; | ||||||
|   border-bottom: 1px solid; } |   border-bottom: 1px solid; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="center"], .reveal table td[align="center"] { | ||||||
|  |   text-align: center; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="right"], .reveal table td[align="right"] { | ||||||
|  |   text-align: right; } | ||||||
|  |  | ||||||
| .reveal table tr:last-child td { | .reveal table tr:last-child td { | ||||||
|   border-bottom: none; } |   border-bottom: none; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -159,6 +159,12 @@ body { | |||||||
|   padding: 0.2em 0.5em 0.2em 0.5em; |   padding: 0.2em 0.5em 0.2em 0.5em; | ||||||
|   border-bottom: 1px solid; } |   border-bottom: 1px solid; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="center"], .reveal table td[align="center"] { | ||||||
|  |   text-align: center; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="right"], .reveal table td[align="right"] { | ||||||
|  |   text-align: right; } | ||||||
|  |  | ||||||
| .reveal table tr:last-child td { | .reveal table tr:last-child td { | ||||||
|   border-bottom: none; } |   border-bottom: none; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -168,6 +168,12 @@ body { | |||||||
|   padding: 0.2em 0.5em 0.2em 0.5em; |   padding: 0.2em 0.5em 0.2em 0.5em; | ||||||
|   border-bottom: 1px solid; } |   border-bottom: 1px solid; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="center"], .reveal table td[align="center"] { | ||||||
|  |   text-align: center; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="right"], .reveal table td[align="right"] { | ||||||
|  |   text-align: right; } | ||||||
|  |  | ||||||
| .reveal table tr:last-child td { | .reveal table tr:last-child td { | ||||||
|   border-bottom: none; } |   border-bottom: none; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -165,6 +165,12 @@ body { | |||||||
|   padding: 0.2em 0.5em 0.2em 0.5em; |   padding: 0.2em 0.5em 0.2em 0.5em; | ||||||
|   border-bottom: 1px solid; } |   border-bottom: 1px solid; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="center"], .reveal table td[align="center"] { | ||||||
|  |   text-align: center; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="right"], .reveal table td[align="right"] { | ||||||
|  |   text-align: right; } | ||||||
|  |  | ||||||
| .reveal table tr:last-child td { | .reveal table tr:last-child td { | ||||||
|   border-bottom: none; } |   border-bottom: none; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -163,6 +163,12 @@ body { | |||||||
|   padding: 0.2em 0.5em 0.2em 0.5em; |   padding: 0.2em 0.5em 0.2em 0.5em; | ||||||
|   border-bottom: 1px solid; } |   border-bottom: 1px solid; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="center"], .reveal table td[align="center"] { | ||||||
|  |   text-align: center; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="right"], .reveal table td[align="right"] { | ||||||
|  |   text-align: right; } | ||||||
|  |  | ||||||
| .reveal table tr:last-child td { | .reveal table tr:last-child td { | ||||||
|   border-bottom: none; } |   border-bottom: none; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -157,6 +157,12 @@ body { | |||||||
|   padding: 0.2em 0.5em 0.2em 0.5em; |   padding: 0.2em 0.5em 0.2em 0.5em; | ||||||
|   border-bottom: 1px solid; } |   border-bottom: 1px solid; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="center"], .reveal table td[align="center"] { | ||||||
|  |   text-align: center; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="right"], .reveal table td[align="right"] { | ||||||
|  |   text-align: right; } | ||||||
|  |  | ||||||
| .reveal table tr:last-child td { | .reveal table tr:last-child td { | ||||||
|   border-bottom: none; } |   border-bottom: none; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -159,6 +159,12 @@ body { | |||||||
|   padding: 0.2em 0.5em 0.2em 0.5em; |   padding: 0.2em 0.5em 0.2em 0.5em; | ||||||
|   border-bottom: 1px solid; } |   border-bottom: 1px solid; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="center"], .reveal table td[align="center"] { | ||||||
|  |   text-align: center; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="right"], .reveal table td[align="right"] { | ||||||
|  |   text-align: right; } | ||||||
|  |  | ||||||
| .reveal table tr:last-child td { | .reveal table tr:last-child td { | ||||||
|   border-bottom: none; } |   border-bottom: none; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -159,6 +159,12 @@ body { | |||||||
|   padding: 0.2em 0.5em 0.2em 0.5em; |   padding: 0.2em 0.5em 0.2em 0.5em; | ||||||
|   border-bottom: 1px solid; } |   border-bottom: 1px solid; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="center"], .reveal table td[align="center"] { | ||||||
|  |   text-align: center; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="right"], .reveal table td[align="right"] { | ||||||
|  |   text-align: right; } | ||||||
|  |  | ||||||
| .reveal table tr:last-child td { | .reveal table tr:last-child td { | ||||||
|   border-bottom: none; } |   border-bottom: none; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -166,6 +166,12 @@ body { | |||||||
|   padding: 0.2em 0.5em 0.2em 0.5em; |   padding: 0.2em 0.5em 0.2em 0.5em; | ||||||
|   border-bottom: 1px solid; } |   border-bottom: 1px solid; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="center"], .reveal table td[align="center"] { | ||||||
|  |   text-align: center; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="right"], .reveal table td[align="right"] { | ||||||
|  |   text-align: right; } | ||||||
|  |  | ||||||
| .reveal table tr:last-child td { | .reveal table tr:last-child td { | ||||||
|   border-bottom: none; } |   border-bottom: none; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -163,6 +163,12 @@ body { | |||||||
|   padding: 0.2em 0.5em 0.2em 0.5em; |   padding: 0.2em 0.5em 0.2em 0.5em; | ||||||
|   border-bottom: 1px solid; } |   border-bottom: 1px solid; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="center"], .reveal table td[align="center"] { | ||||||
|  |   text-align: center; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="right"], .reveal table td[align="right"] { | ||||||
|  |   text-align: right; } | ||||||
|  |  | ||||||
| .reveal table tr:last-child td { | .reveal table tr:last-child td { | ||||||
|   border-bottom: none; } |   border-bottom: none; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -199,6 +199,16 @@ body { | |||||||
| 	border-bottom: 1px solid; | 	border-bottom: 1px solid; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | .reveal table th[align="center"], | ||||||
|  | .reveal table td[align="center"] { | ||||||
|  | 	text-align: center; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .reveal table th[align="right"], | ||||||
|  | .reveal table td[align="right"] { | ||||||
|  | 	text-align: right; | ||||||
|  | } | ||||||
|  |  | ||||||
| .reveal table tr:last-child td { | .reveal table tr:last-child td { | ||||||
|     border-bottom: none; |     border-bottom: none; | ||||||
| } | } | ||||||
|   | |||||||
| @@ -159,6 +159,12 @@ body { | |||||||
|   padding: 0.2em 0.5em 0.2em 0.5em; |   padding: 0.2em 0.5em 0.2em 0.5em; | ||||||
|   border-bottom: 1px solid; } |   border-bottom: 1px solid; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="center"], .reveal table td[align="center"] { | ||||||
|  |   text-align: center; } | ||||||
|  |  | ||||||
|  | .reveal table th[align="right"], .reveal table td[align="right"] { | ||||||
|  |   text-align: right; } | ||||||
|  |  | ||||||
| .reveal table tr:last-child td { | .reveal table tr:last-child td { | ||||||
|   border-bottom: none; } |   border-bottom: none; } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user