The plugin get markdown file URL like github raw content url. It convert markdown file to html, and put it to post content.
The plugin get markdown file URL like github raw content url. The plugin convert markdown file to html, and put it to post content.
It also provide text mode that write markdown in post edit page. Markdown text converted to html is put to editor. Text mode don’t use url.
이 플러그인은 마크다운 파일의 URL을 받아서 html로 변환하고 그걸 포스트 내용으로 집어넣습니다.
기트허브 원본 내용 URL 같은 것을 활용할 수 있습니다.
포스트 편집 페이지에서 마크다운 텍스트를 작성하는 방법도 제공합니다. 마크다운 텍스트는 html로 변환돼 에디터에 들어갑니다.
텍스트 모드를 사용하는 경우 URL은 사용하지 않습니다.
I made up Mytory Markdown for Dropbox plugin. The plugin access Dropbox using API. So I divide the plugin to Mytory Markdown for Dropbox.
Now you can install it in plugin page. This video describe how to migrate Public link to Dropbox API.
Install Mytory Markdown for Dropbox and activate it. Then see a video below.
[Youtube https://www.youtube.com/watch?v=ZmPWMBvGuS4]
If the video doesn’t be show, click this to go to how to migration video.
Mytory Markdown for Dropbox 플러그인을 만들었습니다. API를 이용해서 드롭박스에 접속하는 플러그인입니다. 별도로 만들었습니다.
지금 플러그인 페이지에서 검색해 설치할 수 있습니다. 아래 비디오는 퍼블릭 링크를 드롭박스 API로 이전하는 방법을 설명합니다.
Mytory Markdown for Dropbox 플러그인을 설치한 뒤, 활성화하고 아래 비디오를 보세요.
(비디오는 위에서 보세요.)
the_content
process(vary plugins touch the process).On admin write page, put markdown url path. And click ‘update editor’ button. So markdown content converted to html is putted to editor. See screenshot 1.
This plugin get file url(Github raw content url is recommended). And save header’s etag to postmeta and converted html to post_content.
Next time on request same post, first this plugin olny get http etag.
If changed etag, get md content and save again, or get html from post_content.
If markdown file has h1
this plugin puts first h1
string to post_title. Of course, remove the h1
from post_content so don’t print title twice.
You can use the Muitimarkdown if you install it on your server. ((Website)[https://fletcher.github.io/MultiMarkdown-6/])
Multimarkdown option will be enabled if a multimarkdown execution is on OS PATH and web server can run it.
Otherwise, you can define MYTORY_MARKDOWN_MULTIMARKDOWN_EXECUTION
constant on wp-config.php
.
ex) define('MYTORY_MARKDOWN_MULTIMARKDOWN_EXECUTION', '/opt/multimarkdown/bin/multimarkdown');
/wp-content/plugins/mytory-markdown/
directoryGitHub Usage 1: Create markdown file, and push it to github. So you can see it your github repository. Click it.
GitHub Usage 2: And click 'Raw' button on your markdown file page like below.
GitHub Usage 3: Next, copy URL and paste it to markdown file path on 'add new post' page in your wordpress site. Last, click 'Update Editor Content' button.
Added the multimarkdown engine option.
Disable on Gutenberg Editor, and show notice. Please rest assured. You can install Classic Editor Plugin
to use Mytory Markdown. And… I’ll support Gutenberg Editor.
is_single()
함수를 무력화하는 경우가 발생한 듯하여 is_single()
을 사용하지 않도록 수정.is_single()
function usage. Maybe other plugin has disturbed the function’s process.From this version, only first h1 will be moved to title input. there is bug that first h1 is moved to title and rest h1 disappear.
Backward compatibility for array literal(remove [] array literal).
Added text mode. This mode only use markdown editor(plain text editor) instead of url. It provide real-time conversion.
Fix a bug that it not work when open_basedir
is set(open_basedir
이 설정돼 있을 때 warning이 뜨면서 작동하지 않는 버그 수정). Cao Quảng Bình reported.
It can use github raw url for markdown file.
Feature that manual update on view page.
Fixed it does not work. Enabled cURL redirection. Thanks to WickedSik.
Disabled ‘markdown extra’ plugin affect post content filter. This plugin was included in markdown php library file. I didn’t know.
Updated error handling.
Initial version.