MCPcopy
hub / github.com/pandao/editor.md / factory

Function factory

languages/en.js:2–100  ·  view source on GitHub ↗
(exports)

Source from the content-addressed store, hash-verified

1(function(){
2 var factory = function (exports) {
3 var lang = {
4 name : "en",
5 description : "Open source online Markdown editor.",
6 tocTitle : "Table of Contents",
7 toolbar : {
8 undo : "Undo(Ctrl+Z)",
9 redo : "Redo(Ctrl+Y)",
10 bold : "Bold",
11 del : "Strikethrough",
12 italic : "Italic",
13 quote : "Block quote",
14 ucwords : "Words first letter convert to uppercase",
15 uppercase : "Selection text convert to uppercase",
16 lowercase : "Selection text convert to lowercase",
17 h1 : "Heading 1",
18 h2 : "Heading 2",
19 h3 : "Heading 3",
20 h4 : "Heading 4",
21 h5 : "Heading 5",
22 h6 : "Heading 6",
23 "list-ul" : "Unordered list",
24 "list-ol" : "Ordered list",
25 hr : "Horizontal rule",
26 link : "Link",
27 "reference-link" : "Reference link",
28 image : "Image",
29 code : "Code inline",
30 "preformatted-text" : "Preformatted text / Code block (Tab indent)",
31 "code-block" : "Code block (Multi-languages)",
32 table : "Tables",
33 datetime : "Datetime",
34 emoji : "Emoji",
35 "html-entities" : "HTML Entities",
36 pagebreak : "Page break",
37 watch : "Unwatch",
38 unwatch : "Watch",
39 preview : "HTML Preview (Press Shift + ESC exit)",
40 fullscreen : "Fullscreen (Press ESC exit)",
41 clear : "Clear",
42 search : "Search",
43 help : "Help",
44 info : "About " + exports.title
45 },
46 buttons : {
47 enter : "Enter",
48 cancel : "Cancel",
49 close : "Close"
50 },
51 dialog : {
52 link : {
53 title : "Link",
54 url : "Address",
55 urlTitle : "Title",
56 urlEmpty : "Error: Please fill in the link address."
57 },
58 referenceLink : {
59 title : "Reference link",
60 name : "Name",

Callers 6

en.jsFile · 0.70
editormd.amd.jsFile · 0.50
editormd.jsFile · 0.50
createModeFunction · 0.50
editormd.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…