0

I am just starting to learn Javascript, and I have a small question about editing files within a Github repository.

I am writing functions within a file in my repository that involve mathematical equations, and I am finding that within the editor itself, it is changing the style of the text based on common HTML shortcuts. In my case, whenever I use the asterisk key, *, to multiply values, the editor file will show all text between two consecutive asterisks in italics. It doesn't change the nature of the code itself at all, so it's just a QOL issue for me personally. It's just strange to see blocks of my code appearing italicized within the editor.

Is there any way to have HTML not try and parse such characters as text style shortcuts within the Github repository file editor?

1 Answers1

0

Use .js file extension for Javascript code.

In README.md file put basic description for your project. Basic guid how to write README.md

Adrian Farmadin
  • 407
  • 2
  • 11