Create a markdown file by using a text file. so the input file for the code should be .txt file and the expected output should be the .md file with the content of the text file. steps:
In python , you can achieve this through shutil library , using this below two lines of code.
import shutil
shutil.copyfile("testcopy.txt", "testcopy.md")
In Javascript , you can try with this https://www.npmjs.com/package/markdown-to-txt npm package or else you can use this online converters too https://cloudconvert.com/txt-to-md