Comments (7)
What does that entail? Do you mean css selectors that are missing from the current set of selectors? When I wrote this originally, I implemented what I thought was a spanning set of selectors that could do most of what the CSS selectors did on a static page. Most of the others require dynamic page state or are somewhat redundant. But, I haven't looked in a while, I know new ones are added all the time.
from hickory.
I am referring to reading and writing css files.
See gist: https://gist.github.com/flyboarder/d14e825737d50a6f141717f9c263e239
from hickory.
This does look really interesting! What do you use it for? Is there a synergy to using it with Hickory's HTML support?
from hickory.
@davidsantiago there is great synergy, currently using it for a boot-clj task, inlining css into html files. The task reads the link
hickory tag, looks up the file and parses it into a css version of the hickory structure, then I convert that structure into a hickory style
tag, and replace the original link
.
I have created a new repo for the project here: https://github.com/degree9/dickory-dock may add JS support in the future.
Also, this repo doesnt duplicate any hickory code, so hickory is needed for things like the select namespace.
Demo of using both together: https://github.com/degree9/boot-polymer/blob/master/src/degree9/boot_polymer/impl.clj#L28-L38
from hickory.
Right, the reason I was asking was because you've clearly done a lot of work here to get it going, and it seems like a thing that could be useful on its own. So I was wondering why you want it in Hickory. I'd take it, of course, but I wonder if you wouldn't rather have it be your project, unless there is some reason it makes sense to merge them together. Happy to do what you prefer here.
from hickory.
When I initially opened this issue I had only a bit of the project working, it is larger now and could probably be left as it's own project. If there is a large demand for using both of them we can always merge it later.
from hickory.
Sounds good.
from hickory.
Related Issues (20)
- Close pull requests that won't be merged HOT 5
- Parsing throws on long markdown files HOT 1
- very odd interactive issue HOT 1
- event handlers HOT 2
- Unexpected conversion result HOT 3
- StackOverflowError when parsing many unclosed tags in series HOT 8
- Hickory does not correctly parse <noscript> tags in <head> HOT 1
- License Issue with codox - GPLv3 vs EPL HOT 3
- (as-hiccup (parse-fragment ...)) doesn't work in clojurescript with shadow-cljs HOT 2
- Node.js support revisited HOT 2
- :viewBox property in svg not correctly parsed to hiccup. HOT 2
- svg tag viewBox becomes viewbox HOT 1
- Invalid output by as-hiccup HOT 2
- Link to API documentation are broken - 404 not found
- Any interest in CSS-style selectors? HOT 3
- Graal doesn't compile for 0.7.2+ HOT 3
- After bundling hickory in an uberjar, it throws and exception when running that .jar file HOT 2
- Select all between two things? HOT 1
- `find-in-text` selector does not seem to work when it's the last argument of a `child` selector
- Use of aget breaks under advanced compilation HOT 2
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 hickory.