-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking issue: Nota installation and build pipeline #14
Comments
Regarding installation process, I made a Dockerfile here: https://github.com/jhvst/dockerfiles/tree/main/nota The point is that this would package nota and its dependencies into a container which one could invoke in folders where needed with a command such as However, this was not as straightforward as usually for these cases:
This is about the user within the container which runs the command. I got around this by creating a user within the container, but this introduces other problems (most I think are
On
My workflow requires containers for a self-inflected reason, but I'm willing to help if this seems something that you see would simplify the process. As a takeaway, I think that if the Chromium dependency could removed, then I don't see a reason why this wouldn't work well as a VSCode extension. Otherwise, I think the VSCode extension might run into similar problems as podman. |
@jhvst thanks for the heads up about containerizations. The Chromium dependency is important, because we use Chrome (via Puppeteer) for server-side rendering. But I could change the SSR plugin to pass |
Thanks, that could help in part. Though I feel like containers might not be the way the go here. I pushed some code of mine to https://github.com/jhvst/jhvst.github.io but as you can see, it became rather hacky with bash scripts involved. I think containers in general have a lot of painpoints when the host filesystem has to be modified. Though I hope this report could help anyone who wants to look into that. That being said, do you happen to have plans to integrate Nota with VSCode via LSP? If Puppeteer is used for server-side rendering, I wonder could one use the WebView feature in VSCode for a more streamlined setup? |
Puppeteer shouldn't be part of the editing loop -- it's only for generating final files that will be shipped to clients. So that shouldn't be an issue for editor integration. For now, I am building my own Overleaf-like editor (@nota-lang/nota-editor) based on Codemirror 6. If Nota gets popular enough, I will look to add editor integrations. |
@Ref
and@TableOfContents
don't flicker on page load.esbuild-utils
(a la estrella) so it generates bindings without a separate command, and also works in watch modenoSandbox
when running inside of a containerThe text was updated successfully, but these errors were encountered: