canmove, Confirmed users
737
edits
Line 24: | Line 24: | ||
# Go to https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials, select the little gear icon in the top-right, and choose "New sub-page". | # Go to https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials, select the little gear icon in the top-right, and choose "New sub-page". | ||
# In "Title" put the same thing the doc is called, like "Getting started with cfx". In "Slug" put the same thing as the document name, but replace dashes with underscores: "Getting-started-with-cfx" -> "Getting_started_with_cfx" | # In "Title" put the same thing the doc is called, like "Getting started with cfx". In "Slug" put the same thing as the document name, but replace dashes with underscores: "Getting-started-with-cfx" -> "Getting_started_with_cfx" | ||
# Below "Title" and "Slug" is a WYSIWYG editor, and that's how you edit stuff on MDN. You can click on the "Source" button to edit the HTML directly if you wish | # Below "Title" and "Slug" is a WYSIWYG editor, and that's how you edit stuff on MDN - it's where the article itself goes. You can click on the "Source" button to edit the HTML directly if you wish. | ||
There are 2 ways you can copy the actual article: by default you get a WYSIWYG editor, and you can copy-paste HTML in there. The problem with that is that you'll get a lot of crap that you don't want (for example, IDs and classes for the syntax highlighter) and you'll have to trawl through the HTML to fix it properly. Ugh. Alternatively, you could just copy the text and add all the formatting manually. Ugh. Choose your poison. Maybe there's a better way. | There are 2 ways you can copy the actual article: by default you get a WYSIWYG editor, and you can copy-paste HTML in there. The problem with that is that you'll get a lot of crap that you don't want (for example, IDs and classes for the syntax highlighter) and you'll have to trawl through the HTML to fix it properly. Ugh. Alternatively, you could just copy the text and add all the formatting manually. Ugh. Choose your poison. Maybe there's a better way. |