<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ritik Bheda</title>
    <description>The latest articles on DEV Community by Ritik Bheda (@ritikbheda).</description>
    <link>https://dev.to/ritikbheda</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F701914%2F6651754b-48f0-4eb7-9900-133eed9c69eb.jpeg</url>
      <title>DEV Community: Ritik Bheda</title>
      <link>https://dev.to/ritikbheda</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ritikbheda"/>
    <language>en</language>
    <item>
      <title>Code review</title>
      <dc:creator>Ritik Bheda</dc:creator>
      <pubDate>Fri, 17 Dec 2021 10:43:47 +0000</pubDate>
      <link>https://dev.to/ritikbheda/code-review-59dp</link>
      <guid>https://dev.to/ritikbheda/code-review-59dp</guid>
      <description>&lt;p&gt;My code review activities for Seneca College's internal open source projects will be detailed in this blog.&lt;/p&gt;

&lt;p&gt;This is my first experience reviewing code on GitHub, and it's both exciting and informative. Code review is the act of actively and methodically meeting with one's fellow programmers to examine each other's code for errors, and it has been proved to speed up and simplify the software development process in ways that few other methods can.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reviewing
&lt;/h2&gt;

&lt;p&gt;Reviewing two PRs from a classmate is one of the duties for this project. The PRs, as well as my reviews, are available &lt;a href="https://github.com/Seneca-CDOT/telescope/pull/2624"&gt;here&lt;/a&gt; and &lt;a href="https://github.com/Seneca-ICTOER/IPC144/pull/147"&gt;here&lt;/a&gt;. Both of the PRs I reviewed were really well-written and detailed, with very few mistakes. It was interesting to observe how different people approached certain changes, such as adding a svg file.&lt;/p&gt;

&lt;h2&gt;
  
  
  Learnings
&lt;/h2&gt;

&lt;p&gt;I have learned that code review helps in many ways. some of which are Minimizing your mistakes and their impact, Improving code performance, Sharing new techniques and learning for other coder/contributor. This becomes much more critical as the project grows in size and complexity. As I previously indicated that this is my first time reviewing code, the PRs were not particularly complicated, thus the reviews were a touch simple, but it was a good first step into doing the first code review.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>final release 0.4</title>
      <dc:creator>Ritik Bheda</dc:creator>
      <pubDate>Fri, 17 Dec 2021 09:49:00 +0000</pubDate>
      <link>https://dev.to/ritikbheda/final-release-04-2in8</link>
      <guid>https://dev.to/ritikbheda/final-release-04-2in8</guid>
      <description>&lt;p&gt;In the final blog, I am now writing about bringing the code together, testing and PR.&lt;/p&gt;

&lt;p&gt;I brought the whole code together, which look like this&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/**
@example
``
import {isEqualType} from 'ts-extras';
const isEqual = isEqualType&amp;lt;ExpectedType, ActualType&amp;gt;();
``
*/
export type IsEqual&amp;lt;ExpectedType, ActualType&amp;gt; =
    (&amp;lt;T&amp;gt;() =&amp;gt; T extends ExpectedType ? 1 : 2) extends
    (&amp;lt;T&amp;gt;() =&amp;gt; T extends ActualType ? 1 : 2)
        ? true
        : false;

function assertType&amp;lt;T extends boolean&amp;gt;() {
}

export function isEqualType&amp;lt;T, G&amp;gt;(): boolean;
export function isEqualType&amp;lt;T, G&amp;gt;(value : G): boolean;
export function isEqualType&amp;lt;T, G&amp;gt;(a: T, b: G){
    return assertType&amp;lt;IsEqual&amp;lt;IsEqual&amp;lt;T, G&amp;gt;, true&amp;gt;&amp;gt;();
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;now one of the main task was to be done to test and check if our code is working or no. &lt;br&gt;
The project is already using testing framework &lt;code&gt;xo&lt;/code&gt; and &lt;code&gt;ava&lt;/code&gt; so now I only had to take a look at the testing style in xo and ava and write my test cases. &lt;br&gt;
Finding how to do the test cases was also a bit difficult as I did not have clear idea to what kind of cases to write and compare since there are many types that can be wrote. I then went back to the internet where I can find the way people how other projects were done testing. I tried to get a summary understanding of it started implementing it and after a few additions and subtraction, I came up with my test cases and was ready to test. Well of the cases do pass and covers a broad spectrum of possible cases, but I doubt I might have missed special cases. The good thing is it covers over 99% cases but I am looking forward to search for that 1% of case I have missed. &lt;/p&gt;

&lt;p&gt;The test cases look like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import test from 'ava';
import {isEqualType} from '../source/index.js';

test('isEqual()', t =&amp;gt; {

    t.true(isEqualType&amp;lt;1, 1&amp;gt;());
    t.true(isEqualType&amp;lt;any, any&amp;gt;());
    t.true(isEqualType&amp;lt;unknown, unknown&amp;gt;());

    t.false(isEqualType&amp;lt;{}, {x:1}&amp;gt;());
    t.false(isEqualType&amp;lt;1, 2&amp;gt;());
    t.false(isEqualType&amp;lt;1, any&amp;gt;());
    t.false(isEqualType&amp;lt;1, unknown&amp;gt;());
    t.false(isEqualType&amp;lt;any, unknown&amp;gt;());

});
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I then updated the readme page and push my commits and created a PR&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Planning for release 0.4</title>
      <dc:creator>Ritik Bheda</dc:creator>
      <pubDate>Fri, 17 Dec 2021 09:35:59 +0000</pubDate>
      <link>https://dev.to/ritikbheda/planning-for-release-04-1de4</link>
      <guid>https://dev.to/ritikbheda/planning-for-release-04-1de4</guid>
      <description>&lt;p&gt;For release 0.4, I had to work on something bigger and something difficult. This blog is divided into 2 other blogs; Preparing for release 0.4, working on release 0.4 and final release.&lt;/p&gt;

&lt;h2&gt;
  
  
  Looking for a Project and issue
&lt;/h2&gt;

&lt;p&gt;I always wanted to contribute to a project which is turning big. I tried to looking around alot finding such project, later I recalled about a project that got my attention during Hacktober but I did not do it because it was way to big for me to understand. The project is &lt;a href="https://github.com/sindresorhus/ts-extras"&gt;ts-extras&lt;/a&gt;. I think it is a big project since its developer &lt;a href="https://github.com/sindresorhus"&gt;sindresorhus&lt;/a&gt; is a professional open source contributor and has given many npm packages to the community. I want to be in one of his projects. Although he is currently working on many projects and packages, I choose this because this package is not large in size but very useful for everyone that gives Essential utilities for TypeScript projects. It helps in things like finding is-empty, is-finite, assert-error and other functionalities of a typescript project. Now, there was one more such functionality to be added to the project of is-equal. I thought to work on it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Understanding the Issue
&lt;/h2&gt;

&lt;p&gt;It might sound easy in the first and thats one of the reason I was attracted to during Hacktober fest(my early days of opensource development) but I later found out that it needs much more typescript and programming knowledge than the few lines of code. This is because comparing to varibales, types and a variable and type is not easy when you dont have a function or module to help you. And yes thats correct, this issue aims in building that function so that it would be easier to comparing those things in the future.&lt;/p&gt;

&lt;h2&gt;
  
  
  Planning
&lt;/h2&gt;

&lt;p&gt;Although I do not have expert knowledge of typescript, my aim was to contribute to this issue. I started by finding online help and blogs that can help in better understanding and some idea of the solution but there no great content that can I found that can help me with this issue as those discussion on the internet were making use of helper module to solve it and those helper modules were very complex and had 1000s of line of code which was not allowed in the project(the project is made to make work simple and easily modifyable). But, reading those discussions did help me understand how people are using such functions and gave me an idea of how the end result should look &lt;/p&gt;

</description>
    </item>
    <item>
      <title>Preparing for release 0.4</title>
      <dc:creator>Ritik Bheda</dc:creator>
      <pubDate>Fri, 17 Dec 2021 08:52:10 +0000</pubDate>
      <link>https://dev.to/ritikbheda/preparing-for-release-04-3564</link>
      <guid>https://dev.to/ritikbheda/preparing-for-release-04-3564</guid>
      <description>&lt;p&gt;in the last post, we talked about the project, issue and about the online discussion. In this post, we will discuss about the difficulties ongoing and the progress after 1 week. &lt;/p&gt;

&lt;h2&gt;
  
  
  Points to be least Covered
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;A type-level equivalence operator there.&lt;/li&gt;
&lt;li&gt;TypeScript type system is highly functional.&lt;/li&gt;
&lt;li&gt;Type level testing is required.&lt;/li&gt;
&lt;li&gt;However, we can not easily check type equivalence.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Difficulties
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;how to compare to things where == operator is not there&lt;/li&gt;
&lt;li&gt;it is not simply comparing the values but comparing the type.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;now since there is not == operator, for me the first question &lt;br&gt;
was how do I compare it? I found on one of the reference mentioned by the issue Author (&lt;a href="https://github.com/sindresorhus/type-fest/blob/98158e0fcb354e36c8aaf4b6808ca1498156f1f4/source/internal.d.ts#L1-L11"&gt;reference&lt;/a&gt;) that comparing at this level and comparing of types can be done by proper use &lt;code&gt;extends&lt;/code&gt;. a code snippet for it is here:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;(&amp;lt;G&amp;gt;() =&amp;gt; G extends T ? 1 : 2)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;where G and T are type, we are comparing the type of T with G.&lt;/p&gt;

&lt;p&gt;now, implementing that understanding of extends to a code that compares two types did take a lot of my time and the&lt;br&gt;
implemented code look like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;type isEqual&amp;lt;T, U&amp;gt; =
    (&amp;lt;G&amp;gt;() =&amp;gt; G extends T ? 1 : 2) extends
    (&amp;lt;G&amp;gt;() =&amp;gt; G extends U ? 1 : 2)
        ? true
        : false;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;now this returns us a boolean but we need to have a function as our end user need a function to use.
adding a assert function.
adding a assert function did help me and find if the comparing gave out a positive response or no meaning are they equal or no. 
now, we know it is returning proper response when called, but now the question was how to call the assert function. 
this is also a very tricky part where I tried million trial and error functions to let my &lt;code&gt;type isEqual&lt;/code&gt; to be able to call from tis to get the result. but unfortunately, I did not get any result. but what I did find is that using this assert function can help my task easier if I introduce one more function that I can finally export. 
So, the calling the assert function look like this
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;assertType&amp;lt;IsEqual&amp;lt;IsEqual&amp;lt;T, G&amp;gt;, true&amp;gt;&amp;gt;()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;where I had to call the isEqual twice. &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;writing the final function to export
This part was easier than the other parts above but it also gave me a good knowledge of typescript.
I had to write functions with the same name of &lt;code&gt;isEqualType&lt;/code&gt; and export them. writing functions this way was my first time experience and hence valuable for me.
the find function looked something like this:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;export function isEqualType&amp;lt;T, G&amp;gt;(): boolean;
export function isEqualType&amp;lt;T, G&amp;gt;(value : G): boolean;
export function isEqualType&amp;lt;T, G&amp;gt;(a: T, b: G){
    return assertType&amp;lt;IsEqual&amp;lt;IsEqual&amp;lt;T, G&amp;gt;, true&amp;gt;&amp;gt;();
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I am now very close to completing the issue.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>FarmFood1758: farm food app</title>
      <dc:creator>Ritik Bheda</dc:creator>
      <pubDate>Thu, 09 Dec 2021 06:20:44 +0000</pubDate>
      <link>https://dev.to/ritikbheda/farmfood1758-farm-food-app-1odh</link>
      <guid>https://dev.to/ritikbheda/farmfood1758-farm-food-app-1odh</guid>
      <description>&lt;p&gt;Coming soon...&lt;/p&gt;

</description>
      <category>tec702</category>
    </item>
    <item>
      <title>adding testing</title>
      <dc:creator>Ritik Bheda</dc:creator>
      <pubDate>Sat, 13 Nov 2021 04:55:01 +0000</pubDate>
      <link>https://dev.to/ritikbheda/adding-testing-3b09</link>
      <guid>https://dev.to/ritikbheda/adding-testing-3b09</guid>
      <description>&lt;p&gt;This lab, i added testing to the ssg tool. I used Jest to test my tool. I choose Jest for testing as it is simple, and widely accepted. Also, documentation for it is very easy for beginners to understand and there is a huge community on the internet that shares knowledge on this framework if needed. The link to the official Jest website can be found &lt;a href="https://jestjs.io/"&gt;here&lt;/a&gt;, link to its open source on GitHub can be found &lt;a href="https://github.com/facebook/jest"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setting up Jest
&lt;/h2&gt;

&lt;p&gt;to install Jest, you first need to install its npm package. most of the time it is preferred to install it as a dev-dependency as it is not the main part of developing. you can install it with this command.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;npm i -D jest&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;then you need to update your &lt;code&gt;package.json&lt;/code&gt; file to add a command to test all the test cases with one command. Adding this will work&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"scripts": {
    "test": "jest"
  },
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I did have "aha!" moments while writing the test cases. one of them was, none of my function return a value. They all call another function on completion of a the work. &lt;/p&gt;

&lt;p&gt;In the process, I gained much testing knowledge and coding as well as I had to edit my code in some places for better testing of the ssg. I have done testing before on my coop where we use mocha and chai for testing. they are similar to Jest framework but with some changes. I think I will be using Jest testing in my future projects I am thinking of developing a web-extension.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>adding formatter, linter and vsCode settings</title>
      <dc:creator>Ritik Bheda</dc:creator>
      <pubDate>Mon, 08 Nov 2021 18:06:48 +0000</pubDate>
      <link>https://dev.to/ritikbheda/adding-formatter-linter-and-vscode-settings-5ee6</link>
      <guid>https://dev.to/ritikbheda/adding-formatter-linter-and-vscode-settings-5ee6</guid>
      <description></description>
      <category>ssg</category>
      <category>prettier</category>
      <category>linter</category>
    </item>
    <item>
      <title>using npm package icons instead of local</title>
      <dc:creator>Ritik Bheda</dc:creator>
      <pubDate>Mon, 01 Nov 2021 03:56:20 +0000</pubDate>
      <link>https://dev.to/ritikbheda/using-npm-package-icons-instead-of-local-4p5c</link>
      <guid>https://dev.to/ritikbheda/using-npm-package-icons-instead-of-local-4p5c</guid>
      <description></description>
      <category>opensource</category>
      <category>javascript</category>
      <category>node</category>
      <category>webextension</category>
    </item>
    <item>
      <title>showing versions of the dependencies</title>
      <dc:creator>Ritik Bheda</dc:creator>
      <pubDate>Mon, 01 Nov 2021 03:55:37 +0000</pubDate>
      <link>https://dev.to/ritikbheda/showing-versions-of-the-dependencies-kme</link>
      <guid>https://dev.to/ritikbheda/showing-versions-of-the-dependencies-kme</guid>
      <description></description>
      <category>opensource</category>
      <category>javascript</category>
      <category>node</category>
      <category>webextension</category>
    </item>
    <item>
      <title>fixing CSS/HTML for match the format on the page</title>
      <dc:creator>Ritik Bheda</dc:creator>
      <pubDate>Mon, 01 Nov 2021 03:54:38 +0000</pubDate>
      <link>https://dev.to/ritikbheda/fixing-csshtml-for-match-the-format-on-the-page-12da</link>
      <guid>https://dev.to/ritikbheda/fixing-csshtml-for-match-the-format-on-the-page-12da</guid>
      <description></description>
      <category>opensource</category>
      <category>javascript</category>
      <category>node</category>
      <category>webextension</category>
    </item>
    <item>
      <title>removing the white node </title>
      <dc:creator>Ritik Bheda</dc:creator>
      <pubDate>Mon, 01 Nov 2021 03:50:46 +0000</pubDate>
      <link>https://dev.to/ritikbheda/removing-the-white-node-from-1fe0</link>
      <guid>https://dev.to/ritikbheda/removing-the-white-node-from-1fe0</guid>
      <description>&lt;p&gt;This is my first open source and hacktoberfest contribution. I was very nervous before finding any issue that I can start with. After exploring a lot of repos and issues, I decided to work on this one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Project
&lt;/h2&gt;

&lt;p&gt;The project name is &lt;a href="https://github.com/refined-github/refined-github"&gt;refined-github&lt;/a&gt;. refined-github is a web-extension which enhances the look and feel of your GitHub in browser. It simplifies the GitHub interface and adds useful features like add one click merge conflict fixers, button to revert all the PR changes and many more. &lt;/p&gt;

&lt;h2&gt;
  
  
  Issue
&lt;/h2&gt;

&lt;p&gt;The project is actively developed and maintained with over 130 open issues and 10 PRs. I choose to work on issue(&lt;a href="https://github.com/refined-github/refined-github/issues/4871"&gt;#4871&lt;/a&gt;) which shows an unwanted underline over white-node on hover which is happens when there is anything after the copy button(see picture for more clarification)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gpuCCqNQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bkyfewe9uh4yb0bmssxq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gpuCCqNQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bkyfewe9uh4yb0bmssxq.png" alt="actual" width="627" height="170"&gt;&lt;/a&gt;&lt;br&gt;
this is how it is right now, notice the unwanted underline on hover.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--knEhdot1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y4pozftqzrrcvlazorqp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--knEhdot1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y4pozftqzrrcvlazorqp.png" alt="expected" width="880" height="115"&gt;&lt;/a&gt;&lt;br&gt;
This is how it should actually be.&lt;/p&gt;
&lt;h2&gt;
  
  
  Starting to work
&lt;/h2&gt;

&lt;p&gt;I forked the repo, and then cloned it. I followed the instructions in the contributing.md file which mainly told how to start and test the web-extension locally. I then created a branch for it and started to work for the solution.&lt;/p&gt;
&lt;h2&gt;
  
  
  finding the solution
&lt;/h2&gt;

&lt;p&gt;Although the total code added/remove was not much, solving this issue took pretty decent discussion of me and the project maintainers. It was difficult to remove the whiteNode generated unintentionally, so the fix had to be such that do not allow it to generate. After some research online and discussion with project maintainers, I figured out that fixing CSS properties can help.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/* Remove the underline on PR filename copy button hover #4871 */
.file-header .file-info clipboard-copy {
    display: inline-block;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The main solution is this which do not allow it to generate a new whiteNode. Later, I fixed other code affected by adding this CSS property and the issue was solved.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pull Request
&lt;/h2&gt;

&lt;p&gt;I then made my &lt;a href="https://github.com/refined-github/refined-github/pull/4875"&gt;pull request&lt;/a&gt; ready for review and it was reviewed and merged to the main branch of the project. The edited code is now live!!  &lt;/p&gt;

</description>
      <category>opensource</category>
      <category>javascript</category>
      <category>node</category>
      <category>webextension</category>
    </item>
    <item>
      <title>adding Docusaurus site!!</title>
      <dc:creator>Ritik Bheda</dc:creator>
      <pubDate>Sat, 30 Oct 2021 03:50:14 +0000</pubDate>
      <link>https://dev.to/ritikbheda/adding-docusaurus-site-4gih</link>
      <guid>https://dev.to/ritikbheda/adding-docusaurus-site-4gih</guid>
      <description>&lt;p&gt;Docusaurus can assist you in quickly delivering an attractive documentation site. Docusaurus is a static site generator that creates static pages. It creates a single-page application with quick client-side navigation, taking advantage of React's full capabilities to make your site interactive. Setting up a Dosusaurus site is a super easy task. You only need to change one file by putting your url and other details regarding your repo in the &lt;code&gt;docusaurus.config.js&lt;/code&gt; file! &lt;/p&gt;

&lt;p&gt;I decided to expand my SSG's capability to convert &lt;code&gt;.md&lt;/code&gt; files with more accuracy. Elaborating, until now, my tool was converting only to h, p, and bold tags but now it also converts to link, i and code. I choose this as I think the converting to h and b tags was very basic and wanted to convert as many things possible. So, I started by creating an &lt;a href="https://github.com/ritikbheda/commandline-ssg/issues/14"&gt;issue&lt;/a&gt;, followed by I created a new branch for the same and started to on it. I then prepared notes and sample code in my notebook as I think the regex can be a bit tricky in solving such problems. &lt;br&gt;
Well I think most of the regex did work well but I regex failed for a few, I then had to rethink and re-implement those parts or leave them for future. So now the SSG tool can convert to &lt;code&gt;h&lt;/code&gt;, &lt;code&gt;b&lt;/code&gt;, &lt;code&gt;i&lt;/code&gt;, &lt;code&gt;a&lt;/code&gt;, &lt;code&gt;del&lt;/code&gt; and &lt;code&gt;code&lt;/code&gt; tags. The things left for the future are converting an image, table and listing tags. I then did testing on it and finally created a &lt;a href="https://github.com/ritikbheda/commandline-ssg/pull/15"&gt;PR&lt;/a&gt; and merged it.&lt;/p&gt;

&lt;p&gt;I think in the future, for this tool, I will add complete support for markdown files, write tests(probably with jest, might change if I better) and also expand it from SSG to website.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>node</category>
      <category>cli</category>
      <category>docusaurus</category>
    </item>
  </channel>
</rss>
