Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changes to licensing

  • Loading branch information...
commit 59bcf16bf2cb074c83352b1de0108397cd107deb 1 parent e1b80a3
Brad Robinson authored
Showing with 261 additions and 337 deletions.
  1. +11 −8 MarkdownDeep/Abbreviation.cs
  2. +11 −8 MarkdownDeep/Block.cs
  3. +11 −8 MarkdownDeep/BlockProcessor.cs
  4. +11 −8 MarkdownDeep/FootnoteReference.cs
  5. +11 −8 MarkdownDeep/HtmlTag.cs
  6. +11 −8 MarkdownDeep/LinkDefinition.cs
  7. +11 −8 MarkdownDeep/LinkInfo.cs
  8. +11 −8 MarkdownDeep/MardownDeep.cs
  9. +1 −1  MarkdownDeep/MarkdownDeep.nuspec
  10. +1 −1  MarkdownDeep/Properties/AssemblyInfo.cs
  11. +11 −8 MarkdownDeep/SpanFormatter.cs
  12. +11 −8 MarkdownDeep/StringScanner.cs
  13. +11 −8 MarkdownDeep/TableSpec.cs
  14. +11 −8 MarkdownDeep/Token.cs
  15. +11 −8 MarkdownDeep/Utils.cs
  16. +2 −2 MarkdownDeepBenchmark/Properties/AssemblyInfo.cs
  17. +2 −2 MarkdownDeepGui/Properties/AssemblyInfo.cs
  18. +11 −124 MarkdownDeepJS/MarkdownDeep Quick Reference.txt
  19. +12 −12 MarkdownDeepJS/MarkdownDeep.js
  20. +2 −2 MarkdownDeepJS/MarkdownDeep.min.js
  21. +12 −12 MarkdownDeepJS/MarkdownDeepEditor.js
  22. +2 −2 MarkdownDeepJS/MarkdownDeepEditor.min.js
  23. +11 −12 MarkdownDeepJS/MarkdownDeepEditorUI.js
  24. +2 −2 MarkdownDeepJS/MarkdownDeepEditorUI.min.js
  25. +1 −1  MarkdownDeepJS/MarkdownDeepJS.nuspec
  26. +6 −6 MarkdownDeepJS/MarkdownDeepLib.min.js
  27. +2 −2 MarkdownDeepJS/Properties/AssemblyInfo.cs
  28. +12 −12 MarkdownDeepTests/JSTestResources/MarkdownDeep.js
  29. +2 −2 MarkdownDeepTests/JSTestResources/MarkdownDeep.min.js
  30. +12 −12 MarkdownDeepTests/JSTestResources/MarkdownDeepEditor.js
  31. +2 −2 MarkdownDeepTests/JSTestResources/MarkdownDeepEditor.min.js
  32. +11 −12 MarkdownDeepTests/JSTestResources/MarkdownDeepEditorUI.js
  33. +2 −2 MarkdownDeepTests/JSTestResources/MarkdownDeepEditorUI.min.js
  34. +6 −6 MarkdownDeepTests/JSTestResources/MarkdownDeepLib.min.js
  35. +2 −2 MarkdownDeepTests/Properties/AssemblyInfo.cs
  36. +2 −2 MarkdownDevBed/Properties/AssemblyInfo.cs
  37. BIN  Output/MarkdownDeep.Full.1.1.nupkg
  38. BIN  Output/MarkdownDeep.NET.1.1.nupkg
View
19 MarkdownDeep/Abbreviation.cs
@@ -1,14 +1,17 @@
//
// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
-//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+
using System;
using System.Collections.Generic;
using System.Linq;
View
19 MarkdownDeep/Block.cs
@@ -1,14 +1,17 @@
//
// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
-//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+
using System;
using System.Collections.Generic;
using System.Linq;
View
19 MarkdownDeep/BlockProcessor.cs
@@ -1,14 +1,17 @@
//
// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
-//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+
using System;
using System.Collections.Generic;
using System.Linq;
View
19 MarkdownDeep/FootnoteReference.cs
@@ -1,14 +1,17 @@
//
// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
-//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+
using System;
using System.Collections.Generic;
using System.Linq;
View
19 MarkdownDeep/HtmlTag.cs
@@ -1,14 +1,17 @@
//
// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
-//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+
using System;
using System.Collections.Generic;
using System.Linq;
View
19 MarkdownDeep/LinkDefinition.cs
@@ -1,14 +1,17 @@
//
// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
-//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+
using System;
using System.Collections.Generic;
using System.Linq;
View
19 MarkdownDeep/LinkInfo.cs
@@ -1,14 +1,17 @@
//
// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
-//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+
using System;
using System.Collections.Generic;
using System.Linq;
View
19 MarkdownDeep/MardownDeep.cs
@@ -1,14 +1,17 @@
//
// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
-//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+
using System;
using System.Collections.Generic;
using System.Linq;
View
2  MarkdownDeep/MarkdownDeep.nuspec
@@ -6,7 +6,7 @@
<version>1.1</version>
<authors>Topten Software</authors>
<owners>Topten Software</owners>
- <licenseUrl>http://www.toptensoftware.com/markdowndeep/</licenseUrl>
+ <licenseUrl>http://www.toptensoftware.com/markdowndeep/license</licenseUrl>
<projectUrl>http://www.toptensoftware.com/markdowndeep/</projectUrl>
<iconUrl>http://www.toptensoftware.com/markdowndeep/nuget_icon.png</iconUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
View
2  MarkdownDeep/Properties/AssemblyInfo.cs
@@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Topten Software")]
[assembly: AssemblyProduct("MarkdownDeep")]
-[assembly: AssemblyCopyright("Copyright © Topten Software 2010-2011")]
+[assembly: AssemblyCopyright("Copyright © 2010-2011 Topten Software")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
View
19 MarkdownDeep/SpanFormatter.cs
@@ -1,14 +1,17 @@
//
// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
-//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+
using System;
using System.Collections.Generic;
using System.Linq;
View
19 MarkdownDeep/StringScanner.cs
@@ -1,14 +1,17 @@
//
// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
-//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+
using System;
using System.Collections.Generic;
using System.Linq;
View
19 MarkdownDeep/TableSpec.cs
@@ -1,14 +1,17 @@
//
// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
-//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+
using System;
using System.Collections.Generic;
using System.Linq;
View
19 MarkdownDeep/Token.cs
@@ -1,14 +1,17 @@
//
// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
-//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+
using System;
using System.Collections.Generic;
using System.Linq;
View
19 MarkdownDeep/Utils.cs
@@ -1,14 +1,17 @@
//
// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
-//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+
using System;
using System.Collections.Generic;
using System.Linq;
View
4 MarkdownDeepBenchmark/Properties/AssemblyInfo.cs
@@ -8,9 +8,9 @@
[assembly: AssemblyTitle("MarkdownDeepBenchmark")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyCompany("Topten Software")]
[assembly: AssemblyProduct("MarkdownDeepBenchmark")]
-[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
+[assembly: AssemblyCopyright("Copyright © 2010-2011 Topten Software")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
View
4 MarkdownDeepGui/Properties/AssemblyInfo.cs
@@ -8,9 +8,9 @@
[assembly: AssemblyTitle("MarkdownDeepGui")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyCompany("Topten Software")]
[assembly: AssemblyProduct("MarkdownDeepGui")]
-[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
+[assembly: AssemblyCopyright("Copyright © 2010-2011 Topten Software ")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
View
135 MarkdownDeepJS/MarkdownDeep Quick Reference.txt
@@ -3,10 +3,10 @@
<http://www.toptensoftware.com/markdowndeep>
-Copyright © 2010-2011 Topten Software.
-All Rights Reserved.
+Copyright © 2010-2011 Topten Software
-MarkdownDeep and its associated files are subject to the license terms as specified at the web address above.
+MarkdownDeep and its associated files are subject to different license terms for commercial vs non-commercial use.
+Please refer to the following - <http://www.toptensoftware.com/markdowndeep/license> - for more information.
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
express or implied.
@@ -26,25 +26,27 @@ a client side editor with toolbar, resize bar, real-time preview and syntax refe
<script type="text/javascript" src="/Scripts/jQuery-1.4.1.min.js"></script>
<script type="text/javascript" src="/Scripts/MarkdownDeepLib.min.js"></script>
-2. Where you want the editor to appear, use the following (or similar) markup:
+2. Insert the following markup at the location you want the editor to appear:
<div class="mdd_toolbar"></div>
<%=Html.TextArea("content", new { @class="mdd_editor" }) %>
<div class="mdd_resizer"></div>
<div class="mdd_preview"></div>
- Note, the mdd_toolbar, mdd_resizer and mdd_preview divs are all optional but will prevent page "jump" when
- the page loads.
+ Note, the mdd_toolbar, mdd_resizer and mdd_preview divs are all optional. If ommitted, the jQuery plugin will
+ create them however this may cause the page to appear to "jump" as it loads. By using the above divs and the
+ associated mdd_styles.css stylesheet, the correct sizing can be in-place immediately, eliminating these jumps.
3. Use the jQuery plugin to convert the textarea into a Markdown editor. For more options, see below.
$(function () {
$("textarea.mdd_editor").MarkdownDeep({
- help_location:"/Scripts/mdd_help.htm"
+ help_location:"/Scripts/mdd_help.htm",
+ ExtraMode: true
});
})
-
+See <http://www.toptensoftware.com/markdowndeep/editor> for more information on configuring the editor.
Server Side Translation
-----------------------
@@ -67,120 +69,5 @@ explains how to perform the equivalent translation of the entered content server
// Translate
var html=md.Transform(plaintext);
-Methods and Properties
-----------------------
-
-MarkdownDeep supports the following methods and properties. Unless noted these are supported
-in both editions.
-
-`string Transform(string input)`
-: Transforms the input string from Markdown to HTML using the currently set options.
-
-`bool SafeMode`
-: Set to true to only allow whitelisted safe html tags
-
-`bool ExtraMode`
-: Set to true to enable ExtraMode, which enables the same set of features as implemented by PHP Markdown Extra.
-
-`bool MarkdownInHtml`
-: When set, all html block level elements automatically support markdown syntax within them. (Similar to Pandoc's handling of markdown in html)
-
-`bool AutoHeadingIDs`
-: When set, all headings will have an auto generated ID attribute based on the heading text (uses the same algorithm as Pandoc)
-
-`bool UrlBaseLocation`
-: When set, all non-qualified urls (links and images) will be qualified using this location as the base.(Useful when rendering RSS feeds that require fully qualified urls).
-
-`bool NewWindowForExternalLinks`
-: When true, all fully qualified urls will be give `target="_blank"' attribute causing them to
-appear in a separate browser window/tab (ie: relative links open in same window, qualified links open externally)
-
-`bool NewWindowForLocalLinks`
-: When true, all urls (qualified or not) will get target="_blank" attribute (useful for preview mode on posts)
-
-`string DocumentRoot`
-: When set, will try to determine the width/height for local images by searching
- for an appropriately named file relative to the specified location
- Local file system location of the document root. Used to locate image
- files that start with slash.
-
- Typical value: c:\inetpub\www\wwwroot
-
-`string DocumentLocation`
-: Local file system location of the current document. Used to locate relative
- path images for image size.
-
- Typical value: c:\inetpub\www\wwwroot\subfolder
-
-`int MaxImageWidth`
-: Limit the width of images (0 for no limit). Only used when image sizes are read from DocumentRoot or
-DocumentLocation
-
-`bool NofollowLinks`
-: When set, all links get `rel="nofollow"` attribute
-
-`virtual string OnQualifyUrl(string url)`
-: Provides the default implementation to map relative URLs to fully qualified URLs. Override to qualify non-local image and link urls using a different strategy.
-
-`virtual bool OnGetImageSize(string url, out int width, out int height)` (.NET)
-`object OnGetImageSize(string url)` (JavaScript)
-: Override to supply the size of an image. Typically used for images stored in a database.
-
- In JavaScript, return any object with a `width` and `height` property, or `null` if can't get
- the image dimensions.
-
- In .NET, return dimensions through out parameters. Return false if can't get image dimensions.
-
-`virtual void OnPrepareLink(HtmlTag tag)`
-: Applies special attributes to `a` link tags. Default implementation calls `OnQualifyUrl` to
- qualify the `href` attributes. Also adds `rel="nofollow"` and `target="_blank"` attributes.
-
- Override to apply more customization of anchor tags.
-
-`virtual void OnPrepareImage(HtmlTag tag)`
-: Applies special attributes to `img` tags. Default implementation calls `OnGetImageSize` to
- apply image size attributes, and `OnQualifyUrl` to qualify the `src` attribute.
-
- Override to apply more customization of anchor tags.
-
-`string HtmlClassFootnotes`
-: Sets the class name for the div used to wrap the footnotes section.
-
-`string HtmlClassTitledImages`
-: Set the classname for titled images
-
- A titled image is defined as a paragraph that contains an image and nothing else.
- If not set (the default), this features is disabled, otherwise the output is similar
- to:
-
- {{xml}}
- <div class="<%=this.HtmlClassTitledImags%>">
- <img src="image.png" />
- <p>Alt text goes here</p>
- </div>
-
- Use CSS to style the figure and the caption
-
-`string SectionHeader` (.NET edition only)
-: Set a format string to be rendered before headings, where `{0}` is a placeholder for the
- section number about to be rendered.
-
- eg: `<a href=/edit/page?section={0}>`
-
- Useful for rendering links that can lead to a page that edits that section)
-
-`string SectionHeadingPrefix` (.NET edition only)
-: Set a format string to be rendered after each section heading
-
-`string SectionFooter` (.NET edition only)
-: Set a format string to be rendered after the section content (ie: before
- the next section heading, or at the end of the document).
-
-`static List<string> SplitSections(string markdown)` (.NET edition only)
-: Splits a Markdown document into an array of sections.
-
-`static string JoinSections(List<string> sections)` (.NET edition only)
-: Join previously split sections back into one document
-
-
+See <http://www.toptensoftware.com/markdowndeep/api> for other methods and properties.
View
24 MarkdownDeepJS/MarkdownDeep.js
@@ -1,17 +1,17 @@
-//! MarkdownDeep http://toptensoftware.com/MarkdownDeep
-//! Copyright (C) 2010 Topten Software. Some Rights Reserved
-
-//
-// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
+//! MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+//! Copyright (C) 2010-2011 Topten Software
//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+
/////////////////////////////////////////////////////////////////////////////
// Markdown
View
4 MarkdownDeepJS/MarkdownDeep.min.js
@@ -1,5 +1,5 @@
-// MarkdownDeep http://toptensoftware.com/MarkdownDeep
-// Copyright (C) 2010 Topten Software. Some Rights Reserved
+// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
// Minified by MiniME from toptensoftware.com
var MarkdownDeep=new(function(){function S(b,e){if(b.indexOf!==undefined)return b.indexOf(e);for(var c=0;c<b.length;c++)
if(b[c]===e)return c;return-1}function i(){this.bz=new E(this);this.bC=[];this.bE=new F();this.bF=new F()}i.prototype={
View
24 MarkdownDeepJS/MarkdownDeepEditor.js
@@ -1,17 +1,17 @@
-//! MarkdownDeepEditor http://toptensoftware.com/MarkdownDeep
-//! Copyright (C) 2010 Topten Software. Some Rights Reserved
-
-//
-// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
+//! MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+//! Copyright (C) 2010-2011 Topten Software
//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+
/*
Usage:
View
4 MarkdownDeepJS/MarkdownDeepEditor.min.js
@@ -1,5 +1,5 @@
-// MarkdownDeepEditor http://toptensoftware.com/MarkdownDeep
-// Copyright (C) 2010 Topten Software. Some Rights Reserved
+// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
// Minified by MiniME from toptensoftware.com
var MarkdownDeepEditor=new(function(){var q=false,w={Z:"undo",Y:"redo",B:"bold",I:"italic",H:"heading",K:"code",U:
"ullist",O:"ollist",Q:"indent",E:"outdent",L:"link",G:"img",R:"hr","0":"h0","1":"h1","2":"h2","3":"h3","4":"h4","5":"h5"
View
23 MarkdownDeepJS/MarkdownDeepEditorUI.js
@@ -1,17 +1,16 @@
-//! MarkdownDeepEditorUI http://toptensoftware.com/MarkdownDeep
-//! Copyright (C) 2010 Topten Software. Some Rights Reserved
-
-//
-// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
+//! MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+//! Copyright (C) 2010-2011 Topten Software
//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
var MarkdownDeepEditorUI=new function(){
View
4 MarkdownDeepJS/MarkdownDeepEditorUI.min.js
@@ -1,5 +1,5 @@
-// MarkdownDeepEditorUI http://toptensoftware.com/MarkdownDeep
-// Copyright (C) 2010 Topten Software. Some Rights Reserved
+// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
// Minified by MiniME from toptensoftware.com
var MarkdownDeepEditorUI=new(function(){this.HelpHtmlWritten=false;this.HelpHtml=function(b){var a="";a+=
'<div class="mdd_modal" id="mdd_syntax_container" style="display:none">\n';a+='<div class="mdd_modal_frame">\n';a+=
View
2  MarkdownDeepJS/MarkdownDeepJS.nuspec
@@ -6,7 +6,7 @@
<version>1.1</version>
<authors>Topten Software</authors>
<owners>Topten Software</owners>
- <licenseUrl>http://www.toptensoftware.com/markdowndeep/</licenseUrl>
+ <licenseUrl>http://www.toptensoftware.com/markdowndeep/license</licenseUrl>
<projectUrl>http://www.toptensoftware.com/markdowndeep/</projectUrl>
<iconUrl>http://www.toptensoftware.com/markdowndeep/nuget_icon.png</iconUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
View
12 MarkdownDeepJS/MarkdownDeepLib.min.js
@@ -1,5 +1,5 @@
-// MarkdownDeep http://toptensoftware.com/MarkdownDeep
-// Copyright (C) 2010 Topten Software. Some Rights Reserved
+// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
// Minified by MiniME from toptensoftware.com
var MarkdownDeep=new(function(){function S(b,e){if(b.indexOf!==undefined)return b.indexOf(e);for(var c=0;c<b.length;c++)
if(b[c]===e)return c;return-1}function i(){this.bz=new E(this);this.bC=[];this.bE=new F();this.bF=new F()}i.prototype={
@@ -287,8 +287,8 @@ this.bu,"th");b.w("</tr>\n</thead>\n")}b.w("<tbody>\n");for(var c=0;c<this.bA.le
=b.aW(":");while(b.G()=="-")b.a5(1);var h=b.aW(":");b.a8();var e=0;if(g&&h)e=3;else if(g)e=1;else if(h)e=2;if(b.Y()){if(
c==null)return null;c.bp.push(e);return c}if(!b.aW("|"))return null;if(c==null)c=new H();c.bp.push(e);b.a8();if(b.Y()){c
.bk=true;return c}}}this.Markdown=i;this.HtmlTag=w})();
-// MarkdownDeepEditor http://toptensoftware.com/MarkdownDeep
-// Copyright (C) 2010 Topten Software. Some Rights Reserved
+// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
var MarkdownDeepEditor=new(function(){var q=false,w={Z:"undo",Y:"redo",B:"bold",I:"italic",H:"heading",K:"code",U:
"ullist",O:"ollist",Q:"indent",E:"outdent",L:"link",G:"img",R:"hr","0":"h0","1":"h1","2":"h2","3":"h3","4":"h4","5":"h5"
,"6":"h6"};function A(d,b){return d.substr(0,b.length)==b}function t(d,b){return d.substr(-b.length)==b}function v(b){
@@ -382,8 +382,8 @@ J(b.ad.substr(e,d-e));b.Z=b.Y}b.m()};g=window.setInterval(h,1);return false};c.c
e,d-e));b.Z=b.Y}return true};c.InvokeCommand=function(b){if(b=="undo"||b=="redo"){this["cmd_"+b]();this.aa.focus();
return}var d=new p();d.D(this.aa);var e=d.u();if(this["cmd_"+b](d)){this.ac=0;this.ag.splice(this.ae,this.ag.length-this
.ae,e);this.ae++;d.m();this.H();return true}else{this.aa.focus();return false}};delete a;delete c;this.Editor=l})();
-// MarkdownDeepEditorUI http://toptensoftware.com/MarkdownDeep
-// Copyright (C) 2010 Topten Software. Some Rights Reserved
+// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
var MarkdownDeepEditorUI=new(function(){this.HelpHtmlWritten=false;this.HelpHtml=function(b){var a="";a+=
'<div class="mdd_modal" id="mdd_syntax_container" style="display:none">\n';a+='<div class="mdd_modal_frame">\n';a+=
'<div class="mdd_modal_button">\n';a+='<a href="'+b+'" id="mdd_help_location" style="display:none"></a>\n';a+=
View
4 MarkdownDeepJS/Properties/AssemblyInfo.cs
@@ -8,9 +8,9 @@
[assembly: AssemblyTitle("MarkdownDeepJS")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyCompany("Topten Software")]
[assembly: AssemblyProduct("MarkdownDeepJS")]
-[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
+[assembly: AssemblyCopyright("Copyright © 2010-2011 Topten Software")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
View
24 MarkdownDeepTests/JSTestResources/MarkdownDeep.js
@@ -1,17 +1,17 @@
-//! MarkdownDeep http://toptensoftware.com/MarkdownDeep
-//! Copyright (C) 2010 Topten Software. Some Rights Reserved
-
-//
-// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
+//! MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+//! Copyright (C) 2010-2011 Topten Software
//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+
/////////////////////////////////////////////////////////////////////////////
// Markdown
View
4 MarkdownDeepTests/JSTestResources/MarkdownDeep.min.js
@@ -1,5 +1,5 @@
-// MarkdownDeep http://toptensoftware.com/MarkdownDeep
-// Copyright (C) 2010 Topten Software. Some Rights Reserved
+// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
// Minified by MiniME from toptensoftware.com
var MarkdownDeep=new(function(){function S(b,e){if(b.indexOf!==undefined)return b.indexOf(e);for(var c=0;c<b.length;c++)
if(b[c]===e)return c;return-1}function i(){this.bz=new E(this);this.bC=[];this.bE=new F();this.bF=new F()}i.prototype={
View
24 MarkdownDeepTests/JSTestResources/MarkdownDeepEditor.js
@@ -1,17 +1,17 @@
-//! MarkdownDeepEditor http://toptensoftware.com/MarkdownDeep
-//! Copyright (C) 2010 Topten Software. Some Rights Reserved
-
-//
-// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
+//! MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+//! Copyright (C) 2010-2011 Topten Software
//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+
/*
Usage:
View
4 MarkdownDeepTests/JSTestResources/MarkdownDeepEditor.min.js
@@ -1,5 +1,5 @@
-// MarkdownDeepEditor http://toptensoftware.com/MarkdownDeep
-// Copyright (C) 2010 Topten Software. Some Rights Reserved
+// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
// Minified by MiniME from toptensoftware.com
var MarkdownDeepEditor=new(function(){var q=false,w={Z:"undo",Y:"redo",B:"bold",I:"italic",H:"heading",K:"code",U:
"ullist",O:"ollist",Q:"indent",E:"outdent",L:"link",G:"img",R:"hr","0":"h0","1":"h1","2":"h2","3":"h3","4":"h4","5":"h5"
View
23 MarkdownDeepTests/JSTestResources/MarkdownDeepEditorUI.js
@@ -1,17 +1,16 @@
-//! MarkdownDeepEditorUI http://toptensoftware.com/MarkdownDeep
-//! Copyright (C) 2010 Topten Software. Some Rights Reserved
-
-//
-// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
//
-// The contents of this file are subject to the license terms as
-// specified at the web address above.
-//
-// Software distributed under the License is distributed on an
-// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
+//! MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+//! Copyright (C) 2010-2011 Topten Software
//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
+// compliance with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is
+// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
var MarkdownDeepEditorUI=new function(){
View
4 MarkdownDeepTests/JSTestResources/MarkdownDeepEditorUI.min.js
@@ -1,5 +1,5 @@
-// MarkdownDeepEditorUI http://toptensoftware.com/MarkdownDeep
-// Copyright (C) 2010 Topten Software. Some Rights Reserved
+// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
// Minified by MiniME from toptensoftware.com
var MarkdownDeepEditorUI=new(function(){this.HelpHtmlWritten=false;this.HelpHtml=function(b){var a="";a+=
'<div class="mdd_modal" id="mdd_syntax_container" style="display:none">\n';a+='<div class="mdd_modal_frame">\n';a+=
View
12 MarkdownDeepTests/JSTestResources/MarkdownDeepLib.min.js
@@ -1,5 +1,5 @@
-// MarkdownDeep http://toptensoftware.com/MarkdownDeep
-// Copyright (C) 2010 Topten Software. Some Rights Reserved
+// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
// Minified by MiniME from toptensoftware.com
var MarkdownDeep=new(function(){function S(b,e){if(b.indexOf!==undefined)return b.indexOf(e);for(var c=0;c<b.length;c++)
if(b[c]===e)return c;return-1}function i(){this.bz=new E(this);this.bC=[];this.bE=new F();this.bF=new F()}i.prototype={
@@ -287,8 +287,8 @@ this.bu,"th");b.w("</tr>\n</thead>\n")}b.w("<tbody>\n");for(var c=0;c<this.bA.le
=b.aW(":");while(b.G()=="-")b.a5(1);var h=b.aW(":");b.a8();var e=0;if(g&&h)e=3;else if(g)e=1;else if(h)e=2;if(b.Y()){if(
c==null)return null;c.bp.push(e);return c}if(!b.aW("|"))return null;if(c==null)c=new H();c.bp.push(e);b.a8();if(b.Y()){c
.bk=true;return c}}}this.Markdown=i;this.HtmlTag=w})();
-// MarkdownDeepEditor http://toptensoftware.com/MarkdownDeep
-// Copyright (C) 2010 Topten Software. Some Rights Reserved
+// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
var MarkdownDeepEditor=new(function(){var q=false,w={Z:"undo",Y:"redo",B:"bold",I:"italic",H:"heading",K:"code",U:
"ullist",O:"ollist",Q:"indent",E:"outdent",L:"link",G:"img",R:"hr","0":"h0","1":"h1","2":"h2","3":"h3","4":"h4","5":"h5"
,"6":"h6"};function A(d,b){return d.substr(0,b.length)==b}function t(d,b){return d.substr(-b.length)==b}function v(b){
@@ -382,8 +382,8 @@ J(b.ad.substr(e,d-e));b.Z=b.Y}b.m()};g=window.setInterval(h,1);return false};c.c
e,d-e));b.Z=b.Y}return true};c.InvokeCommand=function(b){if(b=="undo"||b=="redo"){this["cmd_"+b]();this.aa.focus();
return}var d=new p();d.D(this.aa);var e=d.u();if(this["cmd_"+b](d)){this.ac=0;this.ag.splice(this.ae,this.ag.length-this
.ae,e);this.ae++;d.m();this.H();return true}else{this.aa.focus();return false}};delete a;delete c;this.Editor=l})();
-// MarkdownDeepEditorUI http://toptensoftware.com/MarkdownDeep
-// Copyright (C) 2010 Topten Software. Some Rights Reserved
+// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
+// Copyright (C) 2010-2011 Topten Software
var MarkdownDeepEditorUI=new(function(){this.HelpHtmlWritten=false;this.HelpHtml=function(b){var a="";a+=
'<div class="mdd_modal" id="mdd_syntax_container" style="display:none">\n';a+='<div class="mdd_modal_frame">\n';a+=
'<div class="mdd_modal_button">\n';a+='<a href="'+b+'" id="mdd_help_location" style="display:none"></a>\n';a+=
View
4 MarkdownDeepTests/Properties/AssemblyInfo.cs
@@ -8,9 +8,9 @@
[assembly: AssemblyTitle("MarkdownDeepTests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyCompany("Topten Software")]
[assembly: AssemblyProduct("MarkdownDeepTests")]
-[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
+[assembly: AssemblyCopyright("Copyright © 2010-2011 Topten Software")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
View
4 MarkdownDevBed/Properties/AssemblyInfo.cs
@@ -8,9 +8,9 @@
[assembly: AssemblyTitle("MarkdownDevBed")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyCompany("Topten Software")]
[assembly: AssemblyProduct("MarkdownDevBed")]
-[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
+[assembly: AssemblyCopyright("Copyright © 2010-2011 Topten Software")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
View
BIN  Output/MarkdownDeep.Full.1.1.nupkg
Binary file not shown
View
BIN  Output/MarkdownDeep.NET.1.1.nupkg
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.