You are browsing as a guest. Sign up (or log in) to start making projects!

aMarkdownEditor

  • 4 Devlogs
  • 1 Total hours

as I want to learn JavaScript but don't want to build the 5 millionth Todo-List app, I'll try to do my best and build something I probably would use (I hate writing README.md s...)

Open comments for this post

22m 4s logged

adding numbered lists and (Hyper)links works now but I’m kinda thinking of changing the default colour of links because my eyes hurt from trying to read it LOL. I did allat yesterday so today is just the devlog ig, way to lazy today to program… I also added a .gitignore in case if anybody wonders, it just doesnt commit my changes.txt to github (i only write what I did in changes.txt, for example i couldn’t have done this devlog today because I just forget what i added…)

0
0
16
Open comments for this post

16m 14s logged

You can now add spaces (only working with Enter) which just adds elements. Then you can also add lists but only unsorted and not numbered lists… I’ll do that soon.

0
0
6
Open comments for this post

24m 24s logged

I worked on the parsing so now, it can translate #, ## , ###, * * and *** ***. I know someone will probably roast me that everything is just some if functions but that will do the job for me, at least atm. The only thing I don’t understand in the code is how * * and *** *** get parsed, that looks like absolute mental pain to me but VSCode’s inline suggestions created it and it seems to work. I also played around with the CSS & colours a bit, probably shouldn’t have done that bcuz it looks like something a colourblind person would create :| Ig I gotta work on the other syntax markdown has and while writing this devlog I just looked up what the whole Markdown syntax is like, that is gonna take a long while because it seems like there are at least 2 ways to do something, like for big text ** ** or __ __

0
0
8
Open comments for this post

22m 58s logged

Initialised GitHub Repo, added script.js, index.html & styles.css, forgot to install Hackatime lol, and now there is a basic but pretty much useless editor, a input field on the right page and a bit of javascript which just sets the value of the textarea as = text and then displays the text in Preview, there is no such thing as Markdown rendering yet, just simple displaying of what is written. I also don’t know if it’s a good practice to leave HTML containers organised and open (like <div class=“test>

0
0
11

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…