Markdown editor MWeb how to create a static website / blog

MWeb Mac version is generated based on MarkDown editor and static blog is a tool designed for use Markdown to write articles and publish to the website, the blog generation tool, MWeb Mac version to use when the editor and can be used when the blog generation tool than Octopress Jekyll and tools plus easy to use. MWeb introduced today is how to create a static website / blog.

08150317_2f709fdadf.jpeg

[dl]15-1754[/dl]

MWeb static site category

In MWeb document library, there are two categories, one is the general category, and the other is a static site categories. You can directly add static site category, you can right-click the General category top-level category, select Edit, then click Set to Site button in the interface appears.

Site category you can set some of the content associated with the site. Setting interface is as follows:

08145942_4c80627aea.jpeg

Set the image above should not be difficult to understand. If you want to generate static website, please click Build Site after setting button. Before generation, make sure you have at least one category article. You can also right-click to select the relevant menu item to create website. If you modify a site template, use the Clear and Rebuild Site button. Of course, you can always use this button to clean up and rebuild your site.

As can be seen, is very simple static website generation in MWeb in. Write a good article, and then classified as a static site category, and then right-click on a static site category, and then select "Generate Web site." Of course, you can preview.

MWeb type of two articles

MWeb and Wordpress and other blog have the same structure, the article is divided into two types: general article and Page. Page for performing page, contact page and other pages about.

As shown below, the MWeb document library document is set to a very simple page. Click the top of the information bar and check the Is Page. The HTML file name used to set the name of the generated HTML files. For example, the figure above articles generates mweb-static-blog.html. general article generated HTML file name is also set here.

08150026_4d34137fe1.jpeg

Setting Site Main Menu

You can click the Advanced Settings button Site Settings interface extensions to open the site to set up the site's main menu. You can also open it from the Extension Preferences-, and then select the site categories you want to set, and then select the Site Menu. This tab, as shown below:

08150045_ec44524df5.jpeg

You can add, edit and delete menu, or drag and drop to reorder. Note: This MWeb-Foundation-Book Web site menu template is not supported.

File Reference Room

Other documents cited in MWeb is very simple. In the document list, right-click the document you want to reference, and then select Copy, as shown below.

08150117_5025383f0d.jpeg

Location of the document is then attached to reference CMD + V, then the generated MWeb [How to use Publish Script to Publish website.] (How_to_use_shell_script.html). If you hold down the CMD key and click the document references will open.

Generate static website can function well with this reference, and generate the associated Web link.

Add more Read reviews

For Read More Comment, see figure below. You can use the menu: Actions- Insert Read More Comment inserted more readings, then note that the annotation must add a blank line at the top and bottom, as shown in FIG.

08150143_71bfb26126.jpeg

Website launched configuration script

MWeb for Mac This feature is designed to make the process simple static website experience MWeb reached "a new document and edit" - "right-click and choose Execute publish the script." Avoid the same as before, after generating website, you need to click on the command to publish.

Guess you like

Origin blog.51cto.com/14370425/2476372