![]() Wont work because most of the syntax you are suggesting is already being implemented in Markdown. Just wanted to point out that using something like I believe they are MS now, which are like the contemporary marketing gurus. Which makes since because I know that, (75% ) or more, of the time I spend in GitHub, is in my own, or someone else's, README.md documents. ![]() There MarkDown is a unique trademark of there site. It is so unique and custom, that I see editor extensions that generate markdown in the same format as GitHub does. Any of us can look at a dot MD document on GitHub, and know we are reading something in a GitHub repository. There markdown, generates a README view that is unique onto GitHub. If I had to guess as to why they don't implement color, I would say it is because, they are the only one with black and white text & oversized headers. Its not that I think they should insert color into there markdown engine, but at the very least give a quick one liner reason as to why they won't implement color into MD rendering engine. When a company is new, they are so quick to cater to a customers needs, but when they get big like GitHub did, they can honestly care less. Many, many projects would benefit from being able to tastefully color the structured text in their documentation.ĭamn, I am surprised at how many people have been asking for color to be implemented into the GitHub markdown preview, and how long they have been asking for it w/o reply. However, there's no fallback story for tail languages and other structured text formats that aren't in your list. Beyond the minor inconveniences of being cumbersome to create / edit / maintain, and slower for browsers to load, screenshots thwart readers from copy/pasting key snippets of text, such as the command that was executed in the screenshot - this makes the documentation less usable, and the potential work-arounds are all very ugly.Īnother use-case from issue #369: There's a reason you support auto-colorization of code blocks - coloring text is crucial for facilitating our eyes to parse it faster. Screenshots are inferior to natively colored text. ![]() Please fix this and sunset one of my most popular StackOverflow questions (another +358 upvotes and counting): Ĭolor is an important design feature for many CLI tools, including my underscore-cli tool for hacking on JSON data, and thus, it's important to be able to include properly colored output examples in the documentation.Ĭurrently, the ONLY way to accomplish this is with a screenshot: (I'm exaggerating only slightly the real number is 76 posts) ![]() ^2.+1000, which is a roughly accurate summation of six years worth of continuous +1 posts on issue #369, most of which weren't noticed due to that issue being closed for most of that time. Second, it would be nicer to have a superscript 2 instead of First,īecause r is a mathematical variable, it should be typeset in This code works, but the result is not fully satisfying. Library(ggplot2) library(dplyr) library(glue) iris_cor % group_by(Species) %>% summarize( r_square = cor(Sepal.Length, Sepal.Width) ^ 2) %>% mutate( # location of each text label in data coordinates Sepal.Length = 8, Sepal.Width = 4.5, # text label containing r^2 value label = glue( "r^2 = ") ) iris_cor #> # A tibble: 3 × 5 #> Species r_square Sepal.Length Sepal.Width label #> #> 1 setosa 0.551 8 4.5 r^2 = 0.55 #> 2 versicolor 0.277 8 4.5 r^2 = 0.28 #> 3 virginica 0.209 8 4.5 r^2 = 0.21 iris_facets <- ggplot(iris, aes(Sepal.Length, Sepal.Width)) + geom_point() + geom_smooth( method = "lm", formula = y ~ x) + facet_wrap( ~Species) + theme_bw() iris_facets + geom_text( data = iris_cor, aes( label = label), hjust = 1, vjust = 1 )
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |