KxJ is a simple blog in SvelteKit.
adaptor-static
.The configuration variables are stored in \src\lib\data\kxjConfig.json
. The following are supported.
Variable | Usage |
---|---|
show_draft |
true will show all draft articles. Absence of the variable or any value other than true will hide. In dev environment it will always default to true . |
email |
Your email, if configured will show up in the Socials side bar. |
twitter |
Your twitter handle, if configured will show up in the Socials side bar. |
github |
Your github handle, if configured will show up in the Socials side bar. |
Articles will go into the articles
directory. Files should have an extension of .md
.
Images used within these markdown files should go into the \static\images
folder.
If the images are hosted elsewhere then the complete url should be in the markdown file.
Here is an image from the \static\images
folder.

Here is an image linked from an external url.

Code highlighting can be done like so in markdown files:
```js
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/html'});
res.end('Hello World!');
}).listen(8080);
```
Result of the above:
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/html'});
res.end('Hello World!');
}).listen(8080);
|--articles // Articles live here
|--src // Source code
|--+static
| |
| +--images // Images used in articles or otherwise in code
Nothing as of now. New features will be only added when it becomes impossible to live without.