Title: WP-MarkupCollection
Author: Koichi Nakashima
Published: <strong>22 مارس 2014</strong>
Last modified: 9 می 2014

---

جستجوی افزونه‌ها

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://s.w.org/plugins/geopattern-icon/wp-markupcollection.svg)

# WP-MarkupCollection

 توسط [Koichi Nakashima](https://profiles.wordpress.org/ko1nksm/)

[دانلود](https://downloads.wordpress.org/plugin/wp-markupcollection.1.1.2.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/wp-markupcollection/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/wp-markupcollection/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/wp-markupcollection/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/wp-markupcollection/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/wp-markupcollection/)

## توضیحات

This plugin is developed on Github. To get full source code, see Github.

[https://github.com/ko1nksm/wp-markup-collection](https://github.com/ko1nksm/wp-markup-collection)

#### Features

 * Write your posts using many markup languages.
 * Syntax highlighter plugin integration..
 * Customizable architecture to use another filter. (for developer)

#### Filters and supported Markup Languages

 * [Internal] PHP Markdown (Markdown)
 * [Internal] PHP Markdown Extra (Markdown Extra)
 * [Internal] PHP Markdown Lib (Markdown, Markdown Extra) *Requires PHP >= 5.3.0
 * [Internal] PHP Textile (Textile) *Requires PHP >= 5.3.0
 * [Internal] PHP reStructuredText (reStructuredText)
 * [Internal] Text_Wiki (BBcode, coWiki, Creole, DokuWiki, MediaWiki, Tiki)
 * [Internal] HatenaSyntax (Hatena Syntax)
 * [External] MultiMarkdown (MultiMarkdown)
 * [External] Pandoc (Markdown, reStructuredText, Textile, LaTeX, MediaWiki, AsciiDoc,
   Org-Mode, etc)

The external filter, you need to install the command.

#### Markup syntax

Supported syntax are depend on those libraries or commands.

PHP Markdown, PHP Markdown Extra, PHP Markdown Lib
 [http://michelf.ca/projects/php-markdown/](http://michelf.ca/projects/php-markdown/)

PHP Textile
 [https://github.com/textile/php-textile/](https://github.com/textile/php-textile/)

PHP reStructuredText
 [https://code.google.com/p/php-restructuredtext/](https://code.google.com/p/php-restructuredtext/)

Text_Wiki
 [https://github.com/pear/Text_Wiki/](https://github.com/pear/Text_Wiki/)

HatenaSyntax
 [https://github.com/anatoo/HatenaSyntax](https://github.com/anatoo/HatenaSyntax)

MultiMarkdown
 [http://fletcherpenney.net/multimarkdown/](http://fletcherpenney.net/multimarkdown/)

Pandoc
 [http://johnmacfarlane.net/pandoc/](http://johnmacfarlane.net/pandoc/)

## نصب

 1. Install from wordpress plugins menu. Search “WP-MarkupCollection” and click install.

#### Alternative

 1. Upload `wp-markup-collection` folder to the `/wp-content/plugins/` directory.
 2. Add executable permissions to “wp-markup-collection/bootstrap.php” (if you want
    to use ExecRunner).
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.

#### Optional

 * If you want to use external filters, install the command. e.g. multimarkdown,
   pandoc.

## سوالات متداول

  Supported PHP version

5.2 or later (some filters requires 5.3 or later)

  What is multimarkdown or pandoc

This plugin supports multimarkdown and pandoc as external filters
 If you want to
use external filters, You need to install those command.

  Where can I get multimarkdown from?

Please refer to [http://fletcherpenney.net/multimarkdown/](http://fletcherpenney.net/multimarkdown/)

Note: Get MultiMarkdown-4. (not MMD3 aka peg-multimarkdown)

  Where can I get pandoc from?

Please refer to [http://johnmacfarlane.net/pandoc/](http://johnmacfarlane.net/pandoc/)

  I want to use “sed or something” as filter, but doesn’t work

Due to security reason, Executable commands are limited. If you want to use another
command as filter, need to create custom classes.

Please refer to “custom.example.php” that is included in this plugin.

  When plugin was deactivated, markup are displayed on the posts.

Markup (wrapped in a fallback tag) stored in the post_content column. When disabling
the plugin, displays content in post_content column as is as HTML.

If this behavior is unpleasant, check the box to “convert to HTML” when you save.

  Where the data is stored?

 * posts – post_content column of wp_posts table.
 * cache of posts – wp_postmeta table.
 * meta of posts – wp_postmeta table.
 * options – wp_options table.

  Why are you store posts’s cache in wp_postmeta?

Some Markdown plugins are store the HTML to the post_content. And store the Markdown
to the post_content_filtered.

This approach is superior that doesn’t spew out Markdown even if you disable the
plugin. But it has some problem.

 * Revisions and Auto-saved posts format are HTML.
 * Compare Revisions are displayed in HTML.
 * Does not export post_content_filtered column.
 * Bulk edit lose Markdown.

I don’t want to lose markup. For that I made ​​this plugin.

  What happens if uninstall this plugin.

Option will be removed. Posts and cache are remains.

  What is “<pre class=’wp-markup-collection’>…</pre>”

This is fallback tag. Markup are stored by being wrapped in a fallback tag internally.

When you disable plugin, Markup displayed as HTML in a fallback tag in order to 
avoid the collapse of the page.

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“WP-MarkupCollection” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Koichi Nakashima ](https://profiles.wordpress.org/ko1nksm/)

[ترجمه “WP-MarkupCollection” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/wp-markupcollection)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/wp-markupcollection/)،
[مخزن SVN](https://plugins.svn.wordpress.org/wp-markupcollection/) را بررسی کنید،
یا از طریق [RSS](https://plugins.trac.wordpress.org/log/wp-markupcollection/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/wp-markupcollection/) مشترک
شوید.

## گزارش تغییرات

#### 1.1.2

 * Fix a bug that garbage is inserted when article is large.
 * Compatibility with WordPress 3.9.

#### 1.1.1

 * Fix a no args filter call via HTTP POST.
 * Fix a bug that doesn’t allow to change without filter.

#### 1.1.0

 * No need for php cli.
 * Fix for php 5.2.6

#### 1.0.0

stable release

## اطلاعات

 *  نگارش **1.1.2**
 *  آخرین به‌روزرسانی **12 سال پیش**
 *  نصب‌های فعال **10+**
 *  نگارش وردپرس ** 3.0 یا بالاتر **
 *  آزمایش‌شده تا **3.9.40**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/wp-markupcollection/)
 * برچسب
 * [dokuwiki](https://fa.wordpress.org/plugins/tags/dokuwiki/)[markdown](https://fa.wordpress.org/plugins/tags/markdown/)
   [mediawiki](https://fa.wordpress.org/plugins/tags/mediawiki/)[textile](https://fa.wordpress.org/plugins/tags/textile/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/wp-markupcollection/advanced/)

## امتیازها

 1 از 5 ستاره.

 *  [  امتیاز 0 5-ستاره     ](https://wordpress.org/support/plugin/wp-markupcollection/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/wp-markupcollection/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/wp-markupcollection/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/wp-markupcollection/reviews/?filter=2)
 *  [  امتیاز 1 1-ستاره     ](https://wordpress.org/support/plugin/wp-markupcollection/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-markupcollection/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/wp-markupcollection/reviews/)

## مشارکت کنندگان

 *   [ Koichi Nakashima ](https://profiles.wordpress.org/ko1nksm/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/wp-markupcollection/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](http://nksm.name/donate/)