Possible in this setup), you can also use fenced code blocksĪnd specify a language for syntax highlighting:įor more details and commands in Markdown, you can read this page, this page and this page. If you are using GitHub Flavored Markdown (which will be You can make tables (better use a Markdown editor for that): The following will be displayed as a horizontal line: You can always use the number 1 for automatic numbering:ġ. Furthermore, you can create unnumbered lists:Ģ. _italic_ (or *italic*) text, and it is also possible to write Here you can see an overview of the most important Markdown syntax (ignore the line breaks after line 7, 8 and 35, 36 – they are just there so that everything can be displayed at once in the code block): But unlike HTML, you do not need “ugly” tags like Heading, and so the text will also be clearly readable in any plain text editor. Markdown files can be exported to other formats like HTML or PDF. It is used to write websites, blog posts, documentations and even books (and of course, everything on this page was written in Markdown). md) containing special syntax for formatting. This means that you can simply write plain text files (which are usually saved with the extension. Markdown is a markup language that is used to create formatted text in a plain-text editor. gitignore file containing the _site folder (and some other files) is generated automatically in your. Your website will be generated in the _site folder, but you will not have to upload this folder to GitHub, because instead, the files in the _posts folder will be used on GitHub in order to generate your website. So that you do not have to remember the command (and using cmd /k, the cmd window does not close after stopping the server). Then, if everything worked, it should display something like: github.io folder and execute the commands bundle install and then bundle add webrick and bundle exec jekyll serve. github.io folder in VS Code, you will have a clearly laid out file tree and you will be able to edit all the different files in one editor. in Visual Studio Code: If you click on File - Open Folder and choose the whole. Simply clone or download my repository containing the website you are currently reading.Įdit _config.yml to configure the general settings for the blog.You can also use another template, but then some file and folder names may be different from the names in these instructions. Go to this page and click on “Get Clean Blog on GitHub”.Now you have two options to make a Jekyll blog/website:.Go to this page and follow the instructions to install Jekyll. Install Jekyll and mak a Jekyll blog/website
0 Comments
Leave a Reply. |