Git it Write – Write posts from GitHub
Git it Write allows to publish the markdown files present in a GitHub repository to your WordPress site. So with this plugin, whenever the files are added, updated in the repository the WordPress post will be added, updated accordingly. This plugin is inspired from static site generators like Jekyll, Next.js, Gatsby.js on how content is written is markdown. This is a similar idea for WordPress where markdown files are parsed from GitHub and published as posts. 👓 Live example: Source github repository (/docs/ folder) to Posts published ⚡ Getting started: Get started with Git it write. Learn how to write .md files and publish posts on WordPress. This allows people to collaborate with the post, share edits and suggestions in GitHub which when pulled the WordPress post will be updated automatically. If a repository has files in the below structure, docs/ guide/ introduction.md getting-started.md help/ faq.md Then below posts will be created like below (if permalinks are configured and the post type supports “hierarchy” i.e creating posts level by level (example: pages)) https://example.com/docs/guide/introduction/ https://example.com/docs/guide/getting-started/ https://example.com/help/faq/ 🎲 What is the use of this plugin ? Publish posts using the files in your GitHub repository. Write your posts in Markdown format. Write your posts on your desktop application (Notepad++, Sublime Text, Visual studio code). Collaborate, involve communities on the files in GitHub and publish them on WordPress. All the advantages of Git and it’s version management system. 🚀 Some use cases Can be used for documentation posts, FAQs, Wikis etc. Write blog posts. Any articles which may need community involvement. ✨ Features Markdown will be processed and post will be published as HTML. Images used in the source file will be uploaded to WordPress. Relative links are supported. Set post properties like post status, title, order, category, tags etc, in the source file itself. Webhook support (whenever repository is changed, it updates the plugin to pull the latest changes and publish the posts) Add multiple repositories. Publish to any post type. Posts are published in hierarchial manner if they are under folders. Example: a file dir1/hello.md will be posted as dir1/hello/ in WordPress if the post type supports hierarchy. Support for post metadata like setting tags, categories, custom fields. ℹ Note Only Markdown files will be pulled and published right now Posts won’t be deleted when it’s source file is deleted on GitHub. It is preferred to have a permalink structure. It is preferred to select a post type which supports hierarchy. Images have to present only in _images folder in the repository root. Markdown files have to relatively use them in the file. 🥗 Recommendation It is recommended that a permalink structure is enabled in the WordPress site so that, if you have file under docs/reference/my-post.md then a post is published like https://example.com/docs/reference/my-post/. This will be the result when post type has hierarchy support. They will be posted level by level for every folder in the repository. The folder’s post will be taken from the index.md file if exists under that folder. 🏃♂️ Using the plugin Have a GitHub repository where all the source files (markdown files) are maintained (organized in folders if needed the exact structure) In the plugin settings page, click add a new repository. Enter the details of the repository to pull the posts from and under what post type to publish them. Save the settings Click “Pull the posts” and then “Pull only” changes. This will publish posts for all the markdown files. To automatically update posts whenever repository is updated, configure webhook as mentioned in the settings page. Links Documentation Support forum/Report bugs Donate Contribute on GitHub
Top keywords
- posts17×2.70%
- post15×2.38%
- files12×1.91%
- repository12×1.91%
- github9×1.43%
- markdown9×1.43%
- wordpress9×1.43%
- publish8×1.27%
- example7×1.11%
- file7×1.11%
- md7×1.11%
- docs6×0.95%
CodeMirror Blocks
CodeMirror Blocks is useful for developers blog, tutorial site where to display formatted (highlighted) code of any program. It supports 100+ Programming, Scripting and MarkUp Language, with 56 Different Themes. The Code Block is dependent on a CodeMirror library. Formatted Code Block is like (syntax highlighting feature) that displays source code, in different colors and fonts according to the category of terms. It is one strategy to improve the readability and context of the text; especially for code that spans several pages. The reader can easily ignore large sections of comments or code, depending on what they are looking for. This plugin is just plug and play, no tedious configurations or hacks, just install, activate and start using block inserter. Features Control Panel Added on top of the Code Block. ** It displays language/filename. ** It also display three buttons, includes Run/Execute, FullScreen, Copy Code. Web editor (Execution of HTML, CSS JavaScript block) With CodeMirror Block 1.1 Option Page for set default options Highlight Active Line (now available on CodeMirror Block 1.1) CodeMirror Block 1.1 now support Block align (Wide Width, Full Width) if your theme Supports. Classic Editor Support (Partial) Lightweight and fast Secure code with using clear coding standards Intuitive interface with many settings Cross browser compatible (work smooth in any modern browser) Works also on android mobile browser Compatible with all Default WordPress themes (tested with Latest Twenty Twenty-Four) Twenty Twenty-Four Twenty Twenty-Three Twenty Twenty-Two Twenty Twenty-One Twenty Twenty Also Compatible with other third-party themes. Key features include Code syntax highlighting Line number (On/Off) option 56 Themes (all provided themes from CodeMirror) 100+ Programming languages (all most provided languages from CodeMirror) Programming language selection option Loading CodeMirror files on pages only when needed A list of supported themes: 3024 day 3024 night Ambiance mobile Ambiance Base16 dark Base16 light Blackboard Cobalt Colorforth Eclipse Elegant Erlang dark Lesser dark Liquibyte MBO MDN-like Midnight Monokai Neat Neo Night Paraiso dark Paraiso light Pastel on dark Rubyblue Reactjs.org Theme Solarized The matrix Tomorrow night bright Tomorrow night eighties TTCN Twilight Vibrant ink XQ dark XQ light Zenburn Credits This Plugin use CodeMirror library to highlight Code Blocks. CodeMirror is an open-source project shared under the MIT license.
Top keywords
- code11×2.96%
- codemirror10×2.69%
- block