-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix blockquote rendering #923
Conversation
From the page https://deploy-preview-923--sonobuoy.netlify.com/docs/master/markdown-cheatsheet/ We can see problems with:
|
Codecov Report
@@ Coverage Diff @@
## master #923 +/- ##
=======================================
Coverage 47.59% 47.59%
=======================================
Files 76 76
Lines 5175 5175
=======================================
Hits 2463 2463
Misses 2562 2562
Partials 150 150 Continue to review full report at Codecov.
|
Trying to change the That led me to look at the source html and there is actually a |
I can see that it doesn't seem to have the border-left that I expect but adding it doesn't seem to have the effect I intend. I also tried to toggle lots of css off to see if it would look as expected, but I can't seem to track it down. |
See https://deploy-preview-923--sonobuoy.netlify.com/docs/master/markdown-cheatsheet/#blockquotes for the effect. It was just had some css for the blockquotes that didnt have the borders set |
If you are opposed to the file let me know; I can remove it. Having it go forward would just make it easier to check our rendering/css. It came from https://github.com/adam-p/markdown-here; I'm just copying a file of sample markdown so I'm not under the impression that I have to cite the MIT license due to the size/value of the data. If you disagree I can add another custom one that just spits out that sort of stuff. |
Done tweaking and happy with the look now (on the sample page and throughout other docs). Feel free to review now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy for the file to be added and think the styles look good. I would have thought that bootstrap provided better styling for blockquotes, but oh well :) I'm not sure if there's a different way to provide these styles rather than modifying the vendored files. Perhaps @jonasrosland will have a suggestion for that. LGTM though 👍
Yea it seems bootstrap just doesn't do much with the blockquote: https://getbootstrap.com/docs/4.0/content/typography/#blockquotes
Maybe I should just adjust the PR to make all those @jonasrosland let me know what you think is best. Either way I just want to clean up that formatting. |
Fixes problem with blockquotes which we utilize often throughout docs. Fixes #918 Signed-off-by: John Schnake <[email protected]>
Ended up removing the cheatsheet; since we have the netlify preview it shouldn't be a big deal really. Having the cheatsheet wouldnt have helped unless we know what to look for in the first place. Having the custom css doc will make it going forward if we want to tweak things. |
Will not be linked to the docs site but will be accessible by URL.
Just useful for devs who may have questions about format.