tag:support.markedapp.com,2011-09-11:/discussions/questions/45-table-of-contents-custom-cssMarked: Discussion 2016-08-11T03:23:19Ztag:support.markedapp.com,2011-09-11:Comment/136364992012-02-12T18:36:17Z2012-02-12T21:37:03ZTable of Contents - custom CSS?<div><p>Is there a way to get Marked to use my custom CSS file for the
table of contents? I find the uppercase incredibly hard to read,
and adding a <code>#generated-toc a</code> class doesn't seem to
have any effect.</p></div>jaytag:support.markedapp.com,2011-09-11:Comment/136364992012-02-12T18:56:21Z2012-02-12T18:56:21ZTable of Contents - custom CSS?<div><p>Sorry, no. I need to maintain control of the layout across all
CSS and avoid conflicting styles, so I override custom CSS styles
that would conflict in the final preview output. I'd be willing to
consider new styling for it, or additional options, though.</p>
<p>If you want the markup to try styling and offer suggestions,
just right click in the preview and choose Inspect Element, then
right click on the html element and "Copy as HTML". Then you can
paste the entire DOM from the current preview into a new file and
adjust styling as you like. If you come up with something great,
let me know and I'll consider adding it as a default or preference
option.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/136364992012-02-12T21:26:31Z2012-02-12T21:26:32ZTable of Contents - custom CSS?<div><p>I'd recommend just leaving out the text-transform: uppercase. In
general, mixed case is easier to read; all-caps is nice for an
effect, but not a giant menu :)</p></div>jaytag:support.markedapp.com,2011-09-11:Comment/136364992012-02-12T21:40:49Z2012-02-12T21:40:49ZTable of Contents - custom CSS?<div><p>Agreed, and done!</p></div>Brett