Page WIP.
serpentbytes / siteit Goto Github PK
View Code? Open in Web Editor NEWEasy-to-use Static Site Generator that can turn `.txt` files into HTML.
Home Page: https://siteit.vercel.app
License: MIT License
Easy-to-use Static Site Generator that can turn `.txt` files into HTML.
Home Page: https://siteit.vercel.app
License: MIT License
I understand README.md is most likely still a WIP. As of now, it doesn't provide instruction on how to use the tool and what it is. I think you might want to list Node.js and npm package installation as requirements.
Operation System: Windows 10
Node version: v16.13.2
If the dist output folder doesn’t exist, the tool inaccurately shows error message about invalid source files.
When dist folder doesn’t exist:
The tool doesn't show any message about the source files when they are valid, regardless of whether the output folder is missing.
Siteit
currently supports some basic markdown
features. We should replace the existing markdown
and add some more features using remarkable
.
In my opinion, it would be better to remove commented code, you could always return to previous comments and check what was there. Files, where I found commented code, are: utility.js
and htmlGenerator.js
At the moment, we are parsing options manually. Let's use commander.js
to make parsing options cleaner and more efficient.
Resources:
https://github.com/tj/commander.js
There's room for Improvement in the current CI setup in terms of performance. We could also automate release and play with danger-js
Resource:
https://danger.systems/js/
I want to make your tool siteit support conversion of .txt to not only HTML, but also markdown files to HTML.
I want to implement the following markdown feature:
Having to write a long command line is always a problem in terms of spelling errors.
That's why I believed that adding a "config" flag would help in terms of making it easier for the user to create a long command line
in a much simpler and elegant way by using JSON
I ran the HTML validation on the https://validator.w3.org/nu/#file, resulting in an issue Start tag seen without seeing a doctype first. Expected <!DOCTYPE html>.
Some enhancements to the source code are needed.
package.json
file by importing it in the following manner:const { name, version } = require(‘../package.json’)
Add support for inline <code>
blocks
In Markdown file , when text is enclosed within a single backtick will cause the HTML to get rendered as <code>... some text...</code>
.
Let's migrate from Javascript to Typescript since the former can be unpredictable sometimes.
Resources:
https://www.typescriptlang.org/docs/handbook/migrating-from-javascript.html
Operation System: Windows 10
Node version: v16.13.2
The tool always deletes the output folder right after successfully running it without error message. The user can’t access the output files.
The output folder isn't deleted and can be accedes by the user to view the result.
Add support for the inline horizontal rule.
In the Markdown file, when a single line only contains ---
will cause the HTML to render <hr>
in its place.
Operation System: Windows 10
Node version: v16.13.2
Command-line shell: PowerShell v5.1.19041.1682
On my machine, the tool doesn’t run when entering command "siteit -i ./source_directory" as instructed in help guide.
Enter command and output:
It does run when running index.js directly:
I'm unfortunately not sure whether it's related to my setup or this is a general issue that also occurs for you.
The tool runs like running index.js directly.
I tried to run command siteit --input Silver Blaze.txt
and got the following error messages:
-- ERROR Invalid or non-existing source supplied -- -- ERROR Invalid or non-existing source supplied --
Operation System: Windows 10
Node version: v16.13.2
As expected, the tool creates a dist output folder when it doesn't’ exist, but it should also proceed to generate output files in the folder. Instead, the output folder is empty.
Enter command and output:
The tool generates output after creation of output folder.
Add new and update existing Static Anaylsis tooling utilized by siteit
.
siteit
..vscode/
and prettier
configurations.CONTRIBUTION.md
file.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.