Bash#
Block Highlighting#
Language highlighting can be enabled with Highlight.js by adding a supported programming language name directly after the first ```
grouping in a Markdown code block:
#!/bin/bash
echo "Today is " $(date)
echo -e "\nenter the path to a directory"
read the_path
echo -e "\nfiles and folders: "
ls $the_path
Block Markdown#
```bash
#!/bin/bash
echo "Today is " $(date)
echo -e "\nenter the path to a directory"
read the_path
echo -e "\nfiles and folders: "
ls $the_path
```
Script adapted from Zaira Hira's "Bash Scripting Tutorial Linux Shell Script and Command Line For Beginners"