Table vertical lines missing #3952
-
Mkdocs table vertical lines are missing...potential bug. Don't see a way to make them show up as in standard markdown? Typical mkdocs table: Should show up like below...how to rectify? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
They aren't missing, that is a stylistic choice for Material. If you want verticle lines, you'll have to provide additional CSS to do so. |
Beta Was this translation helpful? Give feedback.
-
Isaac,
Thanks unfortunate as having standard lines for tables would be much more helpful. Do you happen to have an example of how this could be done or can you point me in the right direction?
I found this link but it doesn’t appear to work properly and no directions.
I appreciate any and all assistance.
Have a great day & a terrific weekend!
Thanks,
Ron
From: Isaac Muse ***@***.***>
Reply-To: squidfunk/mkdocs-material ***@***.***>
Date: Wednesday, May 25, 2022 at 12:46 PM
To: squidfunk/mkdocs-material ***@***.***>
Cc: "Ron.Wildt" ***@***.***>, Author ***@***.***>
Subject: [EXTERNAL] Re: [squidfunk/mkdocs-material] Table vertical lines missing (Discussion #3952)
They aren't missing, that is a stylistic choice for Material. If you want verticle lines, you'll have to provide additional CSS to do so.
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/squidfunk/mkdocs-material/discussions/3952*discussioncomment-2822113__;Iw!!A-7_uaOk87I!p-NftKacANrBbwSaUFOQKT4f1f-b4xQpVmX9ckgaZ1J-FDKLNY4BFyzDPLzX5CxDTdL1-LL6hUJFZgQWhaEYq589$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AHEYWHVMED2RZUGCPKQ7VI3VLZRGNANCNFSM5W5YUAWQ__;!!A-7_uaOk87I!p-NftKacANrBbwSaUFOQKT4f1f-b4xQpVmX9ckgaZ1J-FDKLNY4BFyzDPLzX5CxDTdL1-LL6hUJFZgQWhe1eI34O$>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Sorry, forgot the link
https://blog.ktz.me/making-mkdocs-tables-look-like-github-markdown-tables/
Have a great day!
Thanks,
Ron
From: "Ron.Wildt" ***@***.***>
Date: Thursday, May 26, 2022 at 1:40 PM
To: squidfunk/mkdocs-material ***@***.***>
Cc: Author ***@***.***>
Subject: Re: [EXTERNAL] Re: [squidfunk/mkdocs-material] Table vertical lines missing (Discussion #3952)
Isaac,
Thanks unfortunate as having standard lines for tables would be much more helpful. Do you happen to have an example of how this could be done or can you point me in the right direction?
I found this link but it doesn’t appear to work properly and no directions.
I appreciate any and all assistance.
Have a great day & a terrific weekend!
Thanks,
Ron
From: Isaac Muse ***@***.***>
Reply-To: squidfunk/mkdocs-material ***@***.***>
Date: Wednesday, May 25, 2022 at 12:46 PM
To: squidfunk/mkdocs-material ***@***.***>
Cc: "Ron.Wildt" ***@***.***>, Author ***@***.***>
Subject: [EXTERNAL] Re: [squidfunk/mkdocs-material] Table vertical lines missing (Discussion #3952)
They aren't missing, that is a stylistic choice for Material. If you want verticle lines, you'll have to provide additional CSS to do so.
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/squidfunk/mkdocs-material/discussions/3952*discussioncomment-2822113__;Iw!!A-7_uaOk87I!p-NftKacANrBbwSaUFOQKT4f1f-b4xQpVmX9ckgaZ1J-FDKLNY4BFyzDPLzX5CxDTdL1-LL6hUJFZgQWhaEYq589$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AHEYWHVMED2RZUGCPKQ7VI3VLZRGNANCNFSM5W5YUAWQ__;!!A-7_uaOk87I!p-NftKacANrBbwSaUFOQKT4f1f-b4xQpVmX9ckgaZ1J-FDKLNY4BFyzDPLzX5CxDTdL1-LL6hUJFZgQWhe1eI34O$>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I tried the code below, as you can see below in mkdocs.yml but it didn’t make any difference to pages with a table in them, example below after rebuilding the site locally, fyi. Any additional thoughts? Thanks. 😊
extra_css:
- stylesheets/extra.css
***@***.***
Have a great day!
Thanks,
Ron
From: Isaac Muse ***@***.***>
Reply-To: squidfunk/mkdocs-material ***@***.***>
Date: Thursday, May 26, 2022 at 1:51 PM
To: squidfunk/mkdocs-material ***@***.***>
Cc: "Ron.Wildt" ***@***.***>, Author ***@***.***>
Subject: [EXTERNAL] Re: [squidfunk/mkdocs-material] Table vertical lines missing (Discussion #3952)
I'm not going to go into detail on how to style like GitHub, but you should be able to get vertical lines with something like what is shown below. Just replace magenta with the appropriate color:
.md-typeset td:not([class]):not(:last-child) {
border-right: 1px solid magenta;
}
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/squidfunk/mkdocs-material/discussions/3952*discussioncomment-2829623__;Iw!!A-7_uaOk87I!v584NtVAZocLp_W_3IeNeY88V1NOfNb44G1M5mXJQBsJF9wfT2OAWgBoMafwgWtCUW0qIg60SMnZHlDDSLdNp7qg$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AHEYWHVVYSEIR264FVNWAM3VL7BRVANCNFSM5W5YUAWQ__;!!A-7_uaOk87I!v584NtVAZocLp_W_3IeNeY88V1NOfNb44G1M5mXJQBsJF9wfT2OAWgBoMafwgWtCUW0qIg60SMnZHlDDSHveguZV$>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
They aren't missing, that is a stylistic choice for Material. If you want verticle lines, you'll have to provide additional CSS to do so.