Comments (4)
Another cool thing and I remember chatting with @shawnbot about it. Being able to "pass in" any class or maybe even inline styles through the code fence declaration.
```html class="text-center" style="min-height: 100px;"
<details>
Would output:
<iframe>
...
<div class="p3 text-center" style="min-height: 100px;">
<details>
This would allow us to hide the "setup" styles from code examples. And avoid being copy&pasted by mistake.
from blueprints.
@simurai can you remind me where you saw this bug popping up again?
from blueprints.
On the Primer CSS buttons page, after clicking on a button, the "blue focus" outline should be visible:
Actual | Expected |
---|---|
![]() |
![]() |
Another example is the Label--outline
on the Primer CSS labels page. They seem to have a negative top/bottom margin:
Which hides the top/bottom border when in an iframe.
Actual | Expected |
---|---|
![]() |
![]() |
from blueprints.
@simurai I'd like to look at the fenced code blocks prop passing today. IIRC it's a pretty simple tweak.
from blueprints.
Related Issues (18)
- Consider using Context for pages functionality
- Hero Illustration
- Add edit link component
- NavDropdown Component
- Need location for tools docs HOT 1
- Responsive Header Navigation HOT 1
- Search performance
- Header links run into vertical scrollbar
- Support for custom elements HOT 1
- Remove header link to `/team` HOT 1
- Support for table of contents (TOC)
- Bump up the contrast of the search input HOT 1
- Search performance HOT 2
- Bad styling on sidebar if the content is too short
- Render static versions of SVG animations server-side
- SideNav Componentization Tracking Issue HOT 5
- New Components Tracking Issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blueprints.