Closed
Description
This is a tracking bug for the work we have to do to prepare the CSS documentation for Markdown conversion.
This doesn't list everything we need to do and I'll probably add some things, but gives us a list of the main items at least.
- remove
id
attributes except on headings (fixed by Remove css ids, final part #7529 and others) - deal with
hidden
code blocks in live samples (filed as [Markdown] [CSS] Fix usages of <div class="hidden"> containing code blocks #7256) - remove
hidden
elements that don't contain code blocks in a live sample - remove
summary
andseoSummary
class (done in removing summary and seoSummary from CSS #5894) - remove inline styles (done in multiple PRs)
- make note/warning consistently formatted (done in Make note syntax consistent for Markdown conversion #7170 and Make warning markup consistent in CSS docs #7236)
- fix broken
dd
elements (done in Fix consecutive dd elements in CSS #6352) - deal with
sup
andsub
(filed as [Markdown] [CSS] Handlesup
andsub
in the CSS docs #7267) - remove nested partial
strong
incode
- deal with
<div class="index">
(discussed in https://github.com/mdn/content/discussions/7263, and removed in Remove index class from CSS docs #7726) - make converter understand
<pre class="hidden">
(filed as h2m converter should handlehidden
onpre
blocks yari#4308) - fix live samples that use IDs which are not simple derivations of heading text (Fix live sample IDs for CSS docs #7732)
- remove random CSS classes and unsupported elements (filed as Remove css classes #7720 )