Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Gist を印刷する時に良い感じのレイアウトにする
// For printout https://gist.github.com
// DOM
$('#header').remove();
$('#repos').remove();
$('.secondary').remove();
$('.meta').remove();
$('#footer').remove();
$('.push').remove();
$('#comments').remove();
$('#delete_link').remove();
// Style
$('link[media=screen]').attr('media', 'all');
$('.main').css('width', '100%');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment