From 6b0fad5657d802603cb6f64f51b5387bbfbc2059 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Sun, 26 Jul 2015 14:06:09 -0400 Subject: Add whitespace preformatting for code blocks (closes #5), move instructions to Gist --- .../2015-04-23-getting-login-to-work-ubuntu-15.04-nvidia.markdown | 8 +------- _sass/_typography.scss | 4 ++++ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/_posts/2015-04-23-getting-login-to-work-ubuntu-15.04-nvidia.markdown b/_posts/2015-04-23-getting-login-to-work-ubuntu-15.04-nvidia.markdown index 883fa19..a0bd1cd 100644 --- a/_posts/2015-04-23-getting-login-to-work-ubuntu-15.04-nvidia.markdown +++ b/_posts/2015-04-23-getting-login-to-work-ubuntu-15.04-nvidia.markdown @@ -15,12 +15,6 @@ By entering Ctrl + Alt + F3, I was able to drop In the same shell, I ran: -``` -$ wget http://us.download.nvidia.com/XFree86/\ - Linux-x86_64/349.16/NVIDIA-Linux-x86_64-349.16.run -$ chmod u+x NVIDIA-Linux-x86_64-349.16.run -$ sudo service lightdm stop -$ sudo ./NVIDIA-Linux-x86_64-349.16.run -``` +{% gist 7efcf98bd1d76170c19e %} After that, restarting my computer cleared up the issue. diff --git a/_sass/_typography.scss b/_sass/_typography.scss index fedcdb2..a97953e 100644 --- a/_sass/_typography.scss +++ b/_sass/_typography.scss @@ -30,6 +30,10 @@ pre, code, kbd { color: $gray; } +pre, code { + white-space: pre; +} + p { margin-top: 1rem; margin-bottom: 1rem; -- cgit v1.2.3