路 TECHNOPHILE 路 OPTIMIST 路 CYCLIST 路 ARCHIVIST 路 DESIGN 路 VIDEO 路 TV 路 NOMAD 路 DOCKER 路 JAVASCRIPT 路
traceypooh / blogtini Goto Github PK
View Code? Open in Web Editor NEWMarkdown + JS 100% client-side blogs & websites
Markdown + JS 100% client-side blogs & websites
I recommended Blogtini to one of my tutoring students, and we haven't been able to get it to work after a few days of trying.
Could you please have a look at my attempt at https://github.com/jsalsman/jsalsman.github.io ?
https://jsalsman.github.io/index.html shows your example post, but doesn't format the markdown.
I am getting this warning in the Chrome console;
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
I am not sure where to fix that. Do I need to make a local copy of https://blogtini.com/js/blogtini.js to import from https://github.com/jsalsman/jsalsman.github.io/blob/main/theme.js and change it there somehow? The former has no mention of lit
as far as I can tell.
Thanks in advance, I'm a huge fan of this effort.
Hi Tracey,
I noticed your comments aren't displayed anymore and staticman seem to be erroring.
For example the comment you made for blogtini.com/2020-07-like-kubernetes-k3s-is-dead-on-floor-fast doesn't display.
This blogtini thingy is amazing! After an half-finished WordPress migration that started before COVID-19, I recently was wondering how I could have a page in a path/foo/bar.md load markdown and by some magic load that application-layout (the common "web app Chrome").
I never thought to do path/foo/bar.html and insert raw markdown like you're doing. Smart! Even using script[type=module] sweet!
My half-finished attempt was with using nuxt-content. But it's a bit too much.
I recently tried close to what you're doing by having some HTML document to load from GitHub using JSONP. See this Gist, open it in a browser or try renoirb.com/286211f2c32d41c955a43a40723df535.html
Looking at the code though and seeing your GitHub repo comments, they aren't shown.
Known bug?
Have you thought of changing js/blogtini.js to have a customElement and load them and use them as normal tag? That'd be neat to avoid writing to .innerHTML = '...' too much
KUTGW!
(I've tried writing a comment on your site to see if you staticman instance will do something. It didn't.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google 鉂わ笍 Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.