mirror of
https://github.com/10h30/wordpress-export-to-markdown.git
synced 2026-07-11 18:56:14 +09:00
Rename debug.js to example.js
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
3. Run the script to see post data dumps, to see what you can work with
|
||||
4. Write your code to get and return what you want
|
||||
5. Update "get whatever" comment to describe what you're getting
|
||||
6. Remove your field name from the default frontmatter_fields in settings.js
|
||||
7. Remove this comment block and the console debug code
|
||||
6. Remove your field name from frontmatter_fields in settings.js
|
||||
7. Remove this comment block and the debug console code
|
||||
8. Make that pull request!
|
||||
*/
|
||||
|
||||
@@ -15,5 +15,5 @@ module.exports = (post) => {
|
||||
console.dir(post, { depth: null });
|
||||
console.log('\nEND POST DATA DUMP =============================================================\n');
|
||||
|
||||
return 'DEBUG: ' + post.data.title[0];
|
||||
return 'EXAMPLE: ' + post.data.title[0];
|
||||
};
|
||||
Reference in New Issue
Block a user