Comments (10)
I'll probably update Notablog in this weekend.
I'll need to publish a new version of nast-util-to-react
, update that dependency's version number in Notablog's package.json
, test it, and publish a new version of notablog
.
It seems that most of tasks in the process rely on my actions, but if you want to try it earlier (and maybe see if there're bugs in your use case), in theory, you could
- Clone the
notablog
repo, install (npm install
) and build (npm run build
) it. - Clone the
nast
repo, follow the instructions to set it up. - Edit the version number of
nast-util-to-react
innotablog
'spackage.json
, replace the version number with a local path (as described in npm's documentation) to thenast-util-to-react
package in thenast
repo you've cloned. - Run
notablog/bin/cli.js
Disclaimer: I don't test these steps, instead, I just provide the concept on how to do on your own, but if you encounter any problem I will be glad to help.
from notablog.
For the first issue:
I forgot to update the theme's stylesheet to match the HTML generated by the latest rendering library, so the columns are broken. Now it's been updated, please use the latest notablog-starter and the columns should be normal again.
from notablog.
For the second issue:
Yes, the gallery is missing many things, because it is not fully supported now. 😂
For details, refer to the documentation of the rendering library.
from notablog.
Thanks for the prompt reply. Indeed the column is being brought back. However, the display is still problematic. See
When it is like the following in the notion.so
Feel free to test with my public page https://www.notion.so/043f2251b5db4aaba615a8d703455d8c?v=157e166961ff4f06acd38b02cc148fe1
from notablog.
For a quick fix, you may add
.Video__Content > video {
max-width: 100%;
}
in this file.
But this time I will not update notablog-starter immediately, because this problem involves a bigger one, which is that in Notion, image, video, and embeds, all have the same logic for layout, so I've decided to come up with a general solution for this instead of patching separately.
from notablog.
I see. I can confirm that the CSS fixed the issue.
from notablog.
Thanks a lot for the fix
from notablog.
Regarding the second issue see dragonman225/nast#3
from notablog.
I noticed that dragonman225/nast#3 was merged. I wonder that when (or how) can we use it from notablog cli. Thank you.
from notablog.
v0.4.1 released, changes in dragonman225/nast#3 are included.
Note that you also need to update your notablog-starter to use it!
from notablog.
Related Issues (20)
- How to use utterances in generated blog? HOT 1
- How to make the description appear inside the article? HOT 1
- Links within siteMeta.description to internal pages are not transformed HOT 1
- image link from 3-part webside cant showed HOT 3
- Error “Unsupported formatting: ["_",null]” HOT 3
- Add comment function code of utterances HOT 1
- Self-hosted images
- Allow different culture for date column HOT 3
- TypeError: Cannot read properties of undefined (reading '0') at getAllBlocksInOnePage HOT 6
- Search function HOT 1
- Social links HOT 1
- Pure theme HOT 2
- notablog generate . command not found HOT 1
- Notablog failed to generate the desired html file HOT 2
- RSS support ? HOT 3
- Code highlight and page width problem HOT 2
- Unsupported block type: transclusion_container HOT 2
- errors happened when I generate blogs HOT 2
- Support for letting `index.html` be a post, and the links to blog entries be on a separate page. HOT 6
- New images aren't properly linked HOT 3
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 notablog.