JavaScript
Node.js
styled-components
SVG
s, utilize raw
imports, and style
your components with ease.JSON
file.PDF
, an HTML
document
and or as a page on a website. PDF
s supporting different formats like Letter
and A4
. pnpm install
pnpm dev
index.html
within the static
folder to access the website..html
.jsx
(import
ed module
):.html
(generated file):docs
folder as it is.prefixum
in the following files according to the name of your project site
repository: index/index/site/
main/
index/resume/index/index
prefixum
in case you are publishing a user or an organization site
.pnpm deploy
scripts
in the package.json
file and replace superstatic
with firebase serve
commands.firebase.json
file could be named as superstatic.json
if you prefer. This template does not depend on Firebase itself. However, they provide one of if not the consistently fastest static hosting solution.undefined
for example:undefined
for example:join
the result when looping through an array of items to prevent displaying commas between the returned items:+
operator if you prefer:${expression}
syntax instead:html
tagged template literals as HTML as you can see this above as well.Preferencies / Package Settings / JS Custom / Settings
.JS Custom.sublime-settings — User
file: {
"configurations": {
"jsx": true
, "custom_templates": {
"styled_components": true
, "lookaheads": {
"\\<": "scope:text.html.basic"
, "\\.|height|padding|margin": "scope:source.js.css"
, "import|minify|await|export|if|window|\\(|,": "scope:source.js"
}
, "tags": {
"injectGlobal": "scope:source.js.css"
, "css": "scope:source.js.css"
, "html": "scope:text.html.basic"
}
}
}
} JS Custom - Default
syntax highlight option for JavaScript files.JSON.parse(JSON.stringify(json))
functions for example when you are using Refo in watch
mode (related comment), because the JSON hander is changing object properties.Markdown
using markdown-it. Example: example/asset/resume/data.json#L7-private
are removed. Example: example/asset/resume/data.json#L4
Objects which have a property named private
are removed too.-full
are only included when a second true value parameter is passed to the handler function. Example: example/asset/resume/data.json#L8, example/asset/resume/getHandledJson.js#L9
Objects which have a property named full
are only included when a second true value parameter is passed to the handler function.startDate
property without an endDate
property then a hidePresent
property can be used to hide a present label and show the current year instead.
A hideEndDate
property can be used to hide the current year shown instead of a present label.hideDuration
property can be used to hide the calculated duration. Otherwise, a duration
property is defined with the calculated duration (examples: 7 months, 1 year, 1.5 years, 2 years).Posted Mar 24, 2024
A website template for the modern web. ⭐️ Star to support our work! - kireerik/refo
0
0
JavaScript
Node.js
styled-components