Comments (5)
@jiatern , here you go
from loconotion.
It turned out that the lists on the original Notion site contain instructions like --pseudoBefore--content: "1."
, and a css file from the original Notion site has the following code:
/* ==================================================================== */
/* Customizable class utilities.
* see shared/cssHelpers.ts
*
* Use css variables to customize styles for pesudoselectors we
* can't easily target from inline style properties.
*
* Each class defined below should be added to customizableClassnameHelpers.ts.
* For each CSS property, use var(`--${className}--${propertyName}`) as the value.
*
* We use camelCase names here so they're easier to write in Typescript.
* TODO: use something like linaria to automate this shenanigans.
/* ==================================================================== */
.pseudoAfter:after {
color: var(--pseudoAfter--color);
content: var(--pseudoAfter--content);
border: var(--pseudoAfter--border);
width: var(--pseudoAfter--width);
height: var(--pseudoAfter--height);
display: var(--pseudoAfter--display);
background: var(--pseudoAfter--background);
}
.pseudoBefore:before {
color: var(--pseudoBefore--color);
content: var(--pseudoBefore--content);
border: var(--pseudoBefore--border);
width: var(--pseudoBefore--width);
height: var(--pseudoBefore--height);
display: var(--pseudoBefore--display) !important;
background: var(--pseudoBefore--background);
}
.pseudoSelection ::selection {
color: var(--pseudoSelection--color);
background: var(--pseudoSelection--background);
text-shadow: var(--pseudoSelection--textShadow);
}
After I inserted this code into one of my local css files, the bullets and list item numbers started displaying properly.
So, I wonder what a permanent fix for this would look like. It seems like loconotion might be deleting too much of the original notion code? @leoncvlt
from loconotion.
Curious, it shouldn't be stripping any css. Thanks for the heads up, I'll have some time to look at this this weekend 😃
from loconotion.
Facing the same issue here. I am not well versed with html/css but apparently I replaced the html file with an older version that was parsed few weeks ago (without changing the CSS file), the bullets appeared.
Not sure if it helps but I've attached both here.
html.zip
from loconotion.
Facing the same issue here. I am not well versed with html/css but apparently I replaced the html file with an older version that was parsed few weeks ago (without changing the CSS file), the bullets appeared.
Not sure if it helps but I've attached both here.
Obviously, the fix you described prevents you from updating your site.
You can insert the code above into your loconotion.css and it should fix the problem after your run the scan once again.
I will be adding a PR about this a bit later today, I hope @leoncvlt Leonardo will have time to look it through :)
from loconotion.
Related Issues (20)
- Does not download files HOT 1
- `--dark-theme` argument has no effect HOT 4
- Docker container not building HOT 9
- Discord server for devs HOT 2
- CI/CD deployment to github pages HOT 4
- Exported Table Row out of proportion HOT 1
- Question: Working on exported html files directly, instead of scraping HOT 1
- Foldable titles do not work on exported pages
- How to remove connect facebook.net and other site trackers HOT 2
- Loconotion timing out due to weird "notion-unknown-block" div HOT 2
- flag emojis are not showing on win HOT 1
- Alternative project repo HOT 16
- Issue with sample page HOT 2
- [Bug] Code snippet rendering is incorrect
- Docker build loconotion failed. HOT 11
- can't run it HOT 2
- Anchor links are not working
- KeyError: 'style' HOT 2
- Bad html output structure HOT 2
- Docker file needs to be updated
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 loconotion.