getbem.github.io
getbem.github.io copied to clipboard
Get BEM to all people in simplest way
ToC βΒ is table of contents, that helps navigation on big documents. - Visual example: https://afeld.github.io/bootstrap-toc/ - [`remark-toc`](https://github.com/remarkjs/remark-toc) can be useful for this
Something like this: https://tailwindui.com/components/application-ui/navigation/navbars (but with astro and solidjs). - https://github.com/lxsmnsyc/solid-headless
With `mdx` we now can use real elements in examples and (with custom code elements) dynamic code fragments, that can instantly display changes inside them.
Somehow [`theme`](https://github.com/getbem/getbem.github.io/blob/master/astro.config.mjs#L30) is not affects code blocks on index page.
See https://www.defined.net/blog/internationalizing-docs-pages-with-astro/
For now all classes are inlined into html markdown, but they should be extracted in BEM classes instead.
> Holistic entities without DOM representation (such as controllers or models) can be blocks as well. I can't understand what the meaning of "Holistic entities without DOM representation", any example?
We're using BEM and love it! π
For example, if you have: ```html ``` Now I want to have a bigger `h1` for the variant `article--featured`. 1. Should I add the class `article__title--featured` to `h1` if I...
lowecase -> lowercase