A dialog appears in the Edit box type the command: You may sometimes wish, however, to convert your Markdown file to other formats.įor example, to convert your file to RTF format which can be opened by most word processors, invoke the command 'Convert File'. You may be happy with this output which you can send perhaps as an email attachment to others. These HTML files are self-contained with a default internal style sheet, your name as the author (if you specified it more on this later) and the date. The HTML files you have created by invoking the 'Build Document Page' command above is stored in the same folder together with your Markdown documents. Now that you have created a document successfully about the UK, try to create another document about another country, perhaps in a different continent. You will also notice that the way to create a paragraph is to freely type lines of text and the lines are joined together and a paragraph is formatted automatically by any block of text surrounded by empty lines.Īfter viewing the file, close the browser and you should be back in TextPad ready to continue with editing your document.Īs you learn to use Markdown, you will be able to write longer chunks of your document before viewing the result in the browser the whole point of a text formatter as compared with a word processor, is that if you mark your document correctly, formatting should be correct 'out of the box'. You will note that the three hash symbols '#' at the beginning of the first line have been replaced by heading level three and all lines starting with '-' (hyphen or dash) have been replaced with a list these are examples of the way the text formatter converts Markdown to HTML. If all is well, the file you just created has been formatted automatically to HTML and your default browser (Internet Explorer or Firefox, for example) will open displaying the file you just created. To view the newly created file, invoke the MarkupBinder command 'Build document page' by pressing in TextPad. You may wish to press to save the file but keep TextPad open. The United Kingdom is located in western Europe Since the file is about the UK, you can write a number of lines as follows: Now press Enter on the file 'UK.md' in Windows Explorer TextPad should start automatically and open with the file loaded. In the previous page about using TextPad, the procedure for configuring your file manager to open Markdown (files with the '.md' file extension) was described. This is essential for MarkupBinder to identify your documents correctly. Note that the file 'UK.md' has the file extension '.md'. One way to do this is to start TextPad, write a few lines and save the document with the name 'UK.md' under the folder path: Then you may like to create a set of sub-folders, one for each continent and perhaps under Europe you want to create a document about the UK. You start by creating a folder somewhere on your system with the folder name 'Geography_' (notice the '_' at the end of the name as this is important to tell MarkupBinder where the binder starts). Let's say that you want to create a binder containing your notes about your favourite subject, Geography. The only requirement from a binder is that the root folder terminates with an underline '_' character.Īs a binder is simply a folder, it is convenient to work with a binder from Windows Explorer, the file manager in Windows. When you create a new binder, it is configured by default to provide an environment for creating single documents and modify them in the same way as you would edit documents in a word processor.Ī binder is a hierarchical folder structure containing documents. At this stage, do not worry about Markdown syntax as only a simple document will be produced to demonstrate the principle you can learn Markdown in greater detail later. While you can edit your documents with any text editor, these instructions assume the use of TextPad in Windows which should be configured by now to work with MarkupBinder tools as explained in the installation section.ĭocuments are written in the Markdown lightweight writing format, the syntax of which you will find in the Writing your document with Markdown section. This page describes the steps required to create a binder, creating and editing single documents and binding the documents together. Getting started with MarkupBinder as a light word processor alternative Topic - Creating, editing and binding your documents with MarkupBinder > Getting started with MarkupBinder in Windows > Getting started with MarkupBinder using TextPad >
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |