Comments (2)
Good suggestion! I often get annoyed when there's a title twice, one from the WP post and the other one from markdown.. Never thought about this solution (or any for that matter..).
I'll include this in the next batch of improvements, though not sure when that's gonna happen unfortunately.. Happy to review if you wanna give it a shot: somewhere between getting the raw markdown and requesting the rendered markdown here:
wordpress-markdown-git/documents-git/includes/providers/class-base-loader.php
Lines 147 to 172 in eb8074c
from wordpress-markdown-git.
I liked this suggestion too.
@nilsnolde currently I use a workaround to avoid show the title twice:
/* My CSS */
.hidden-first-h1 h1:first-of-type {
display: none;
}
// My post content
[git-add-css classes="hidden-first-h1"]
[git-github-markdown url="https://github.com/danilopinotti/blog-posts/blob/master/2021-03-13-explicando_operadores_bitwise.md?v=3"]
[/git-add-css]
from wordpress-markdown-git.
Related Issues (20)
- 404 - Not Found for valid Jupyter notebook URLs HOT 13
- GitLab rate limited HOT 3
- Enable dynamic caching
- plugin does not respect dark mode HOT 4
- Small Typo on Readme. :)
- [feature request] support for gitlab wiki pages HOT 12
- WP plugin taking too long HOT 5
- Support for checkbox [x] HOT 3
- Doesn't update ipynb when git is updated. HOT 7
- Anchor links to headers don't work HOT 1
- Gitlab local API HOT 3
- since update: error message that I reached API call limit HOT 2
- Styles are not enqueued HOT 1
- installation on PHP8.0 HOT 3
- Accessibility with Gitlab markdown flavor HOT 2
- Include a link to settings in plugin page
- Removing cache_ttl does not flush cache HOT 3
- Inline codeblocks not working correctly? HOT 2
- Deprecate this plugin HOT 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 wordpress-markdown-git.