With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js. Learn more →
textToHTML_V2 Alternatives
Similar projects and alternatives to textToHTML_V2
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
textToHTML_V2 reviews and mentions
-
Publishing my first npm package
As mentioned, I published a package as part of the course and the way to install it is via terminal. My tool is called textToHTML. You may type npx texttohtmlv2 in your command line. It will prompt you to install the package (say yes). Then, to see if it's working you can try the help command by typing npx texttohtmlv2 -h in the terminal. It should display a list of other things to try out.
-
GitHub continuous integration basics (my experience).
Last week in class we added automated testing to our Static Site Generators (mine is called textToHTML). This included some tests for Jest which make sure the core functionality of our programs work as expected.
-
Lab 9 - GitHub Actions Workflow
I pick Andre repo, I created an issue stating, to separate generate HTML into a function, then add test case for that function. After finishing my fix. I created a PR, I see that the workflow Andre setup is working correctly.
-
Jest: execution testing & automated setup.
Jest is a testing framework used for writing unit tests for your application. It allows you to write tests and test suite files ending in .test.js or .spec.js. In these files, you are able to test individual pieces of your application. For example, in my textToHTML SSG I have a function that processes Markdown syntax, called... processMarkdown()... I know, super creative.
-
Linting: Oxyclean for your code.
Having set up linting/formatting in my own SSG called textToHTML, commit link, I was curious what it would find.
-
DocuSaurus Adventures and SSG Inspiration
I saw how DocuSaurus handled the Markdown features, and also accessibility on their HTML templates. As such I decided for my own SSG to improve the Markdown capabilities and also add tags to each of the generated pages.
Given that we were now allowed to use an open source library to implement these features instead of coding from scratch, I chose Markdown-it.
Down to brass tacks
Implementing the changes were fairly simple, as in my original method I used a function to take the content (excluding head, meta tags, body) and process the Markdown using regexp. Instead what I did now was pass my content to the markdown function which then calls the "md.render()" method and returns that content.
var md = require('markdown-it')({ html: true, linkify: true, typographer: true }); const processMarkdown = (data) => { return md.render(data); };
Enter fullscreen mode Exit fullscreen mode -
Code Custodian: A lesson in refactoring.
In terms of the Yargs code, I made a module and required it in my main file in order to get access to "argv" value. This helped me make my main textToHTML.js file much cleaner because the setup code for Yargs was put into it's own file and textToHTML.js just handles the file logic.
-
Open Source: git remotes and merges
Links: My partner's SSG, Issue-14, Pull Request
-
My repo has branches...and their branches have branches.
This week in OSD600 we went back to contributing to our own Static Site Generators. We had to pick 2 additional features to implement. For my repository textToHTML_V2 I decided to pick:
-
My first experience with Pull Requests and merging.
Some of the pull requests on my own repository include one where my partner had to fix the name of the HTML file generated from .md inputs. Pull Request 11 . That was really the only thing I needed my partner to change because we both asked about the code we were writing along the way so the pull request merge was smooth.
-
A note from our sponsor - SurveyJS
surveyjs.io | 2 May 2024
Stats
AndreWillomitzer/textToHTML_V2 is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of textToHTML_V2 is JavaScript.
Popular Comparisons
Sponsored