Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add code snippets style #290
Comments
anthonydillon
added
the
design
label
Jan 26, 2016
anthonydillon
assigned
yaili
Jan 26, 2016
|
Yes, let's use the new style. |
yaili
assigned
anthonydillon
and unassigned
yaili
Feb 19, 2016
yaili
changed the title from
Design of code snippets
to
Add code snippets style
Mar 7, 2016
|
I've found two different styles for the default pre tag: I'm assuming the black version is the latest one, so we should incorporate that in Vanilla. /cc @Lucapaulina |
|
I think they should all be reviewed. We don't have a definitive code block style as well. We need to add the copy style to them and maybe code line numbers as well. |
Lucapaulina
commented
Mar 7, 2016
|
The black style is the latest one for code. We use the example Ant linked On Mon, 7 Mar 2016, 14:55 Richard McCartney, notifications@github.com
|
|
Yeah on MAAS we have large code blocks for YAML and XML output. These all have code line numbers similar to GigHub |
|
Agreed at off-site:
|
yaili
added
enhancement
and removed
design
labels
May 5, 2016
|
@anthonydillon Has this been done? |
|
No, the code snippets just have mono font at the moment. On Mon, 9 May 2016 at 14:16 Inayaili de León Persson <
|
|
@anthonydillon You're assigned to this bug. Are you working on this, or should it be re/de-assigned? |
|
Unassign please. Not sure why I was assigned. On Mon, 9 May 2016 at 15:31 Inayaili de León Persson <
|
yaili
unassigned
anthonydillon
May 9, 2016
yaili
referenced this issue
in canonical-webteam/snapcraft.io-static-pages
May 19, 2016
Closed
Visual design #2
barrymcgee
removed
the
enhancement
label
Jun 1, 2016
dholbach
commented
Jun 2, 2016
|
This would be super important to us in the Community team, as we'd like to adopt this for developer.ubuntu.com. |
dholbach
commented
Jun 2, 2016
|
Are you going to support different programming languages and markup in the |
|
That's definitely something to aim for but, initially, we just need to standardise our current usage. |
dholbach
commented
Jun 2, 2016
|
I just learned from @caldav that we're using a different piece of code for programming languages, etc. Still having this bug fixed would help us a lot in a future move to Vanilla. |
barrymcgee
assigned
richmccartney
Jun 2, 2016
barrymcgee
added
Priority: High
Type: Enhancement
Status: Triaged
labels
Jun 2, 2016
richmccartney
added
Status: Doing
and removed
Status: Triaged
labels
Jun 3, 2016
richmccartney
added
Review: Code needed
and removed
Status: Doing
labels
Jun 6, 2016
barrymcgee
added
Review: Design needed
Status: Doing
and removed
Review: Code needed
Review: Design needed
labels
Jun 7, 2016
richmccartney
added
Review: Code needed
and removed
Status: Doing
labels
Jun 13, 2016
|
Fixed by #370 |
barrymcgee
closed this
Jun 13, 2016
barrymcgee
removed
the
Review: Code needed
label
Jun 13, 2016
dholbach
commented
Jun 14, 2016
|
Nice one! |



anthonydillon commentedJan 26, 2016
•
Edited 1 time
-
barrymcgee
Jun 2, 2016
Currently the logic behind the background colour of code snippets is a lighter version of the brand color. This works for Ubuntu as it gives us the correct light orange but in the case of Canonical it makes the code snippets light pink.
Should we sent the background to a set colour or if there something clever we can do with the brand colour in all situations?
We have a new code style now on Ubuntu and Cloud which have a purple background. Should we use that?