Comments (2)
I assume that you are looking for a way to apply this CSS to your Doxygen generated HTML automatically.
It looks like that Doxygen allows you to add headers and footers for the content that is generated by it. This CSS (as used by GitHub) is structured in a way that all you need to apply this to your page is to have a container element with the class markdown-body
and have all the generated HTML inside this container.
For example, in your Doxygen setup you could have header and footer pages in the following way
-
header.html
:<!DOCTYPE html> <!-- ... ---> <body> <div class="markdown-body>
-
footer.html
:</div> </body>
And then let Doxygen add use the custom CSS file as mentioned in the documentation. And your generated HTML should look like the one below:
<!DOCTYPE html>
<!-- ... -->
<body>
<div class="markdown-body">
<!-- Generated HTML from Doxygen -->
</div>
</body>
I hope this is what you are looking for.
from github-markdown-css.
Hi @notlm,
Sorry for delayed reply. The class names for Doxygen are different and in the end I had to apply each style manually in a new CSS file. I created a Github project so that other people could use the theme too. It's here:
https://github.com/piconomix/doxygen-github-markdown-theme
Regards,
Pieter
from github-markdown-css.
Related Issues (20)
- permalinks
- Idea: mention `starry-night`, next to `/markdown` endpoint, for syntax highlighted code with this CSS HOT 1
- Missing list default decoration HOT 3
- Switch themes based on class HOT 10
- Tables are a bit off! HOT 1
- Underline doesn't work anymore?
- How to use light theme only with React? HOT 2
- Support for Alerts HOT 2
- GitHub dark isn't coloring table text correctly HOT 1
- related: header and footer css?
- Colors?
- Feature: Support "diff" HOT 1
- 第826行 让highlight 的主题背景色失效,有点过分了 HOT 1
- does --color-fg-default apply on text color? HOT 2
- Task List style with v5.0.0 differs from that of v4.0.0 HOT 3
- Dark mode doesn't work well with tables HOT 2
- How to display .md files? Pairs with https://cdn.jsdelivr.net/npm/marked/marked.min.js, but doesn't work well. HOT 1
- CSS for Table Seems Missing HOT 1
- TODO list marker HOT 2
- how to change theme HOT 1
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 github-markdown-css.