Comments (5)
Having a little link icon next to headers appear on hover would be pretty cool!
Unfortunately that feature became broken in the original template which I've adapted, although it was present in earlier versions of the template, and wasn't fixed for quite a long time. I haven't checked if it was fixed, but I'll give it a look when I get time.
from pandoc-goodies.
Any updates?
from pandoc-goodies.
I can confirm that the upstream GitHub template (replicated by @sindresorhus) has been updated, and now header links are working, as can be seen in the online demo:
https://sindresorhus.com/github-markdown-css/#h3
In order to update the local template I'll probably have to rebuild it from scratch, since the current version refers to an old GitHub template that was superseded by a new design.
I'm currently short of spare time due to a project with a very tight ETA, which is lagging behind. But I should be able to find a free day to dedicate to the template update somewhere in December, after the ETA is over.
In case I do forget, please feel free to buzz me and remind me about it! This template update is indeed required.
from pandoc-goodies.
Awesome! December is a bit away, though. Is the task just related to updating the version of the Github CSS? That should be simple, no? If I have any free time soon I could try to PR.
from pandoc-goodies.
Is the task just related to updating the version of the Github CSS?
Probably not, there might also be some changes to the HTML. GitHub has updated its styles at least twice since the original template was converted, so classes name might have changed too, which would also affect some PP macros related to the template, and the sample and test files (hence the suggestion that it's best to just rebuild the whole template, and its Sass/CSS).
Of course, a PR is most welcome.
from pandoc-goodies.
Related Issues (10)
- $table-of-contents$ instead of $toc$ HOT 2
- Line numbering? HOT 4
- How is the underlying of line numbers controlled? HOT 7
- native gfm task list as lua-filter HOT 7
- how to use it for convert markdown to html? HOT 4
- GitHub.html5 and `<....` HOT 9
- Pandoc version requirement? HOT 1
- Support relative page header links HOT 8
- unexpected "-", expecting letter HOT 4
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 pandoc-goodies.