Comments (5)
Here is some code to update all your custom.css
files in one go. You need to run this from the root directory.
files_ = list.files(pattern = 'custom.css', recursive = TRUE)
extra_css = '@media print {
a:after {
content: " (" attr(href) ")";
font-size: 10px;
}
}'
lapply(files_, function(f){
content = slidify:::read_file(f, warn = F)
content = paste(content, extra_css, collapse = '\n')
cat(content, file = f)
})
The pdf files will have to be printed manually from chrome. I am investigating an automated routed to achieve that and will keep you posted if I succeed :-)
from dataanalysis.
A simpler solution is to print the slides using Safari which retains the html links.
from dataanalysis.
I'll try to fix this this afternoon and resubmit the pdf files. Hopefully
that will fix the problem. Thanks for all your support during this process!
On Tue, Jan 22, 2013 at 12:37 PM, Ramnath Vaidyanathan <
[email protected]> wrote:
I saw a couple of students raise the issue of links not being clickable in
the pdf version. I am investigating how to modify the print css so that
links are clickable (I am not even sure if it is possible).In the mean-time a quick fix is to include the following css in
assets/css/custom.css@media print {
a:after {
content: " (" attr(href) ")";
font-size: 10px;
}}This would print the link along with the title in the pdf print version so
that users can copy-paste the link. This is sub-optimal, but a viable
solution at this stage.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3.
from dataanalysis.
ok i'll do that now and see if it works!
On Tue, Jan 22, 2013 at 1:57 PM, Ramnath Vaidyanathan <
[email protected]> wrote:
A simpler solution is to print the slides using Safari which retains the
html links.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-12559952.
from dataanalysis.
Jeff, the links on Coursera (served from cloudfront) have not updated. Just wanted to give you a heads up.
from dataanalysis.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dataanalysis.