Simple WordPress Plugin that Saves Content as Markdown

진행중 등록 시간: Jan 2, 2015 착불
진행중 착불

Summary

This is a test. I’m always searching for good WordPress developers and have a quick task that needs to be completed ASAP. Here it goes.

I need a simple WordPress plugin that does the following:

I use a custom (Roots/Bedrock based) WP theme to manage my internal processes. An example would be a process for “How to Bootstrap a LEMP server for WordPress”. This is a long, step by step process. I’d like to be able to view these long process in the simplest form: the way (good) code frameworks / library format and design their documentation.

I’ve already created a page-template called “Process Page,” which includes some custom meta fields, and the body content of the process. Now I’d like you to create a simple plugin that will allow me to use the Markdown language in the_content(); body, and the Flatdocs javascript library to automagically create the table of contents.

I want to be able to enter Markdown into the WP post editor (on admin screen), have that saved in the database, then have that markdown stored in a file in the ‘uploads’ directory. The file should overwrite/update on every additional post save.

There’s a lot of plugins that will store markdown in the database. I’ve already integrated Flatdocs into my theme using bower. I’ve also added the required HTML to my theme. I need to you write the php that will save the markdown as a *.md file, with the post_id as the filename. Then I can reference that .MD file on each post, as required by the Flatdoc library.

Your Role

Utilize custom page template and/or custom post type called “process-page”

Make sure the markdown file is only created for process posts (I may need to create a custom post type—you’ll tell me if that’s a good idea).

Save a markdown file containing the_content(); of custom post type “process-page”

Store this file using the *.md file extension, and naming the file the post_id

Pass the post_id + ‘.md’ file extension into the markdown javascript

For a decent WP dev this should take a few hours(3-6). Please price accordingly.

Resources

Flatdoc documentation: [login to view URL]

Flatdoc Github repo: [login to view URL]

Save markdown in DB: [login to view URL]

Saves markdown in DB: [login to view URL]

Sample JS to be run on each post

[login to view URL]({

fetcher: [login to view URL]('web/app/uploads/[login to view URL]')

});

JavaScript 리눅스 MySQL PHP 워드프레스

프로젝트 ID: #6930106

프로젝트 소개

22 건(제안서) 재택 근무형 프로젝트 서비스 이용 중: Jan 12, 2015