Comments (9)
Has this made any progress? I love this project, but theming it is a nightmare currently (Unless you have some tips, the 800+ lines of css is quite demotivating)
Check this out: dark theme and light theme. Maybe this is the best trade-off between readable code and HyperMD's mess.
HyperMD uses lots of tricky methods to make CodeMirror WYSIWYG, which make is almost impossible to write clean css for themes.
Maybe getting rid of CodeMirror is the only solution. Meanwhile, a brand new CodeMirror is coming, and it will make almost all HyperMD tricks broken. That makes me feel demotivating.
from hypermd.
How about plugins? This is the term used by tools like Draft.js and Eslint. Either way, I think it's a great idea and the name shouldn't have too much effect.
from hypermd.
CodeMirror 6 is coming with lots of changes. The new DOM structure of editor is clean and good, but it will be fully incompatible with HyperMD (v0.3.x)
from hypermd.
感觉目前的styling不是特别configurable 希望将来可以有一个更好的构架. Either way, 非常感谢制作跟维护这个项目!
from hypermd.
To make both HyperMD and related npm packages (basically, powerpacks) friendly to plain browser env, a build-tool is extracted from HyperMD project.
And, the first separated package hypermd-katex
is now online!
- GitHub: https://github.com/HyperMD/hypermd-katex
- Homepage: https://hypermd.github.io/hypermd-katex/
- NPM: https://www.npmjs.com/package/hypermd-katex
I'm going to remove all powerpacks from current HyperMD project, then provide them as npm packages. hypermd-katex
already shows the promising possibility.
Maybe not powerpack. Let's call them addon?
https://github.com/search?q=topic%3Ahypermd-addon&type=Repositories
from hypermd.
hypermd-mathjax is now online! Also don't miss the wiki page
from hypermd.
Working on the theme and style
See https://github.com/laobubu/HyperMD/tree/refractor-separate-core/theme
- Writing an instruction for theme designers:
https://github.com/laobubu/HyperMD/blob/refractor-separate-core/docs/theme-n-style.md - Try making a dark theme... (unfinished)
- A "playground" page designed to test themes and addons.
from hypermd.
Has this made any progress? I love this project, but theming it is a nightmare currently (Unless you have some tips, the 800+ lines of css is quite demotivating)
from hypermd.
Are you thinking of making an API for adding things like inline audio
/video
.
and other things such as iframe embeds etc.
And what about allowing native HTML like <br/>
inside normal markdown that are just rendered as HTML?
from hypermd.
Related Issues (20)
- how to rerender a node when editor loses focus? HOT 2
- Non-techie mode? HOT 1
- 关于主题和代码高亮
- 请问如何编译 import 的其他包的内容 HOT 2
- flow 左右分屏容易改造吗?
- Supporting syntax highlight for code block HOT 4
- :::info:::,
- Repo Active
- Cannot convert from `GLib.List<Gtk.Window>' to `GLib.List<weak Gtk.Window> HOT 1
- 官方能出VScode或者Nextcloud这种私有云的插件吗?
- How to import this as ES Module? HOT 2
- Not Highlighting code blocks in vue HOT 1
- Cant seem to get it working, always producing error
- The text box is wobbling badly
- The demo address cannot be opened HOT 1
- Hypermd syntax highlighter stops working inside a code block (Obsidian's Admonition-plugin, CodeMirror) HOT 1
- How to disable folding
- Demo site is down
- 文档和测试站点宕机了
- CodeMirror 6
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 hypermd.