Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blog: Add a note on how to convert the google doc to markdown #33

Open
surajssd opened this issue Feb 5, 2024 · 0 comments
Open

blog: Add a note on how to convert the google doc to markdown #33

surajssd opened this issue Feb 5, 2024 · 0 comments

Comments

@surajssd
Copy link
Member

surajssd commented Feb 5, 2024

People could collaborate on blogs on a shared google document. So, add instructions on how someone can convert the google doc to markdown in Writing a blog section of contributor's guide.

  • Install Pandoc.
  • Download the Google document in "Microsoft Word (.docx)" format.
  • Then go to the folder for writing the blog:
export INPUT_FILE=""                        # This should be the file with .docx extension
export OUTPUT_FILE=""                       # This should be the file with .md extension
cd content/en/blog/2024

pandoc -t markdown_strict --extract-media . $INPUT_FILE -o $OUTPUT_FILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant