[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-685844-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-685844-en":130,"doc-similar-685844":162},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","markdown-by-example-simple-text-sample-chapter","Markdown By Example - Simple text - sample chapter","","Markdown By Example introduces Markdown as a writing and publishing format designed to keep content readable while minimizing distraction from markup overhead. The document focuses on building a simple chapter covering key syntax elements such as headlines, emphasis, lists, images, hyperlinks, and code blocks. It demonstrates how to create structured results for files like a README, explaining header levels and preferred syntax styles using practical examples.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/markdown-by-example-simple-text-sample-chapter/685844/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/markdown-by-example-simple-text-sample-chapter/685844.png","ImageObject",300,407,{"name":42,"@type":43},"Marglet","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-29","2026-11-07",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",6,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What is the main goal of Markdown in this chapter?","Question",{"text":63,"@type":64},"Markdown aims to make reading and writing files easy by keeping the focus on content while producing well formatted output with minimal markup distraction.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How are headlines created in the chapter?",{"text":68,"@type":64},"Headlines can be created either by underlining with equals signs or hyphens (limited to H1 and H2), or by prefixing a number of pound signs (#) followed by a space to define the header level.",{"name":70,"@type":61,"acceptedAnswer":71},"What Markdown elements does the Simple text chapter cover?",{"text":72,"@type":64},"The chapter covers headlines, emphasis, lists, images, hyperlinks, code, and output, using examples oriented toward creating a structured README.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},685844,1794019538,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":55,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144,"preview_page_count":33,"preview_urls":145},2336477982702,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Markdown By Example  \nThe Markdown-everything book  \nTim Steinbach  \nThis book is for sale at  \n[http://leanpub.com/markdown](http://leanpub.com/markdown)  \nThis version was published on 2012-11-24  \nThis is a Leanpub book. Leanpub helps authors to self-publish in-progress ebooks. We call this idea Lean Publishing.  \nTo learn more about Lean Publishing, go to [http://leanpub.com/manifesto](http://leanpub.com/manifesto).  \nTo learn more about Leanpub, go to [http://leanpub.com](http://leanpub.com).  \n©2012 Leanpub  \nContents  \n7-Simple text 1  \nCONTENTS i  \nLegal  \nAll company and/or product names may be trade names, trademarks and/or registered trademarks of the respective owners with which they are associated.  \nAll links are provided as a convenience and for informational purposes only. They do not constitute an endorsement or an approval of any of the products, services or opinions of the corporation, organization or individual. The author bears no responsibility for the accuracy, legality or content of the external site or that if subsequent links.  \nCONTENTS ii  \nSample  \nThis file is only a sample ebook. It includes one free chapter of the book Markdown By Example ¹ by Tim Steinbach. The entire book can be bought on the book’s website.  \nIf you enjoy this sample chapter, please consider supporting the author!  \n¹[http://markdownbyexample.com/](http://markdownbyexample.com/)  \n7-Simple text  \nThis chapter contains:  \n• Headlines  \n• Emphasis  \n• Lists  \n• Images  \n• Hyperlinks  \n• Code  \n• Output  \nRelevant source folders:  \n• /readme/  \nSimple text  \nSince Markdown is supposed to make reading and writing files easy without stripping the author of the ability to create well formatted output, a Markdown file is all about its contents and as little distraction as possible from formatting. We will take a look at most of the formatting elements available for regular Markdown files. A full syntax documentation can be found at DaringFireball².  \nIn this chapter we will create a README file for a fictional piece of software. By the end of it, we will have used quite a few different ways of formatting text without ever shifting our focus from content to the overhead of formatting that is usually required with HTML or TeX. At all times our README will be easy-to-read and still create a well-structured result, ready to be published with our software.  \n²[http://daringfireball.net/projects/markdown/syntax](http://daringfireball.net/projects/markdown/syntax)  \nHeadlines  \nThe first step to our first Markdown file is-naturally-creating a new file. It should use the file extension.markdown. GitHubhas its own .md extension, which can be used instead. Once we have created the file, it is time to edit it. The first thing we should do is create aheadline for the entire document. The first and largest headline is called an H1, the second level is H2, and so forth up to H6 . Headlines can be created in two different ways: H1 and H2 can just be underlined by equals signs or hyphens, such as this:  \nCode 7.1: Headlines  \n1 Headline 1  \n2 =========  \n3  \n4 Headline 2  \n5 ----------  \n6  \n7  Regular text   \nFor this method of creating headlines, the number of underlining characters is irrelevant. While this is a great way of making headlines obvious in your document, you are limited to H1 and H2 headlines.  \n7-Simple text 4  \nFor H3 through H6 you would have to mix the second way of creating headlines with the aforementioned underlining method, or decide to use the following notation exclusively. Headlines can also be created by prefixing a number of pound signs (\\#) followed by a space to the title. The specific number of pound signs used defines the header level. Code 7 . 1 from above could also look like this, without changing the final result:  \nCode 7.2: Headlines using the pound symbol  \n1 \\# Headline 1 2  \n3 \\#\\# Headline 2 4  \n5  Regular Text   \nEventually, it is up to the author to decide which style is preferred. It should be noted tha","cbCaibqgTLM3oexT","https://ap.wps.com/l/cbCaibqgTLM3oexT","pdf",701374,31,"English","# Simple text\n## Headlines\n## Emphasis\n## Lists\n## Images\n## Hyperlinks\n## Code\n## Output","[{\"question\":\"What is the main goal of Markdown in this chapter?\",\"answer\":\"Markdown aims to make reading and writing files easy by keeping the focus on content while producing well formatted output with minimal markup distraction.\"},{\"question\":\"How are headlines created in the chapter?\",\"answer\":\"Headlines can be created either by underlining with equals signs or hyphens (limited to H1 and H2), or by prefixing a number of pound signs (#) followed by a space to define the header level.\"},{\"question\":\"What Markdown elements does the Simple text chapter cover?\",\"answer\":\"The chapter covers headlines, emphasis, lists, images, hyperlinks, code, and output, using examples oriented toward creating a structured README.\"}]","Markdown By Example - Simple text - sample chapter | PDF",78,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/3dbf93ff11fde65225b03d3d53c35eb1.webp",983,1415,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/2249e6db7d8e2e074d5cc2c79a1d6b3f.webp",982,1414,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/14f3a80616a0241c0526dbff4c9a8034.webp",981,1412,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/939e0bc20b5c40e09c191ee44c885be9.webp",980,1411,{"list":163,"token":11},[164,170,177,183,189,195,201,208,214,220],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":33,"category_name":29,"create_tm":169},701085,"MultiMarkdown User’s Guide - Version 6 - Revised 2023-05-25","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012049333/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=tJ3DSt6gn2uTzePq9X4R4l5RmNA%3D","multimarkdown-users-guide-version-6-revised-2023-05-25",1794523295,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":29,"create_tm":176},348236,"Introduction to Markdown - Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911078271/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=ZHlOAtGXnxhTCuKrrAx%2FZVOucrk%3D","introduction-to-markdown-guide",21,1790071903,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":105,"category_name":29,"create_tm":182},687457,"Markdown to InDesign - Simplified","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000648729/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=cSg6%2Ft0ke1CTwIPxSjbZBSLXF4o%3D","markdown-to-indesign-simplified",1794083732,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":33,"category_name":29,"create_tm":188},703193,"92kramdown-Bormann - Writing RFCs in kramdown-rfc","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013446221/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=wqfXOGqzEQNjPB4FXhDgECcnjtw%3D","92kramdown-bormann-writing-rfcs-in-kramdown-rfc",1794562585,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":33,"category_name":29,"create_tm":194},685845,"Markdown Cheatsheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000227815/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=A1whJE6HkAWNKO8xySv7mY1n8k4%3D","markdown-cheatsheet-685845",1794019540,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":33,"category_name":29,"create_tm":200},685843,"JupyterHub Introduction into the Markdown Syntax - Table of Contents - Markdown Basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000227743/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=TVfXR4ySeMmTx7s6NJ8NdVD95aQ%3D","jupyterhub-introduction-into-the-markdown-syntax-table-of-contents-markdown-basics",1794019536,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":206,"category_name":29,"create_tm":207},348232,"The Markdown Guide - A Creative Commons Attribution-ShareAlike Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911078263/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=TwWI0qE7r4Uu%2BSomoOCN9gTnpFk%3D","the-markdown-guide-a-creative-commons-attribution-sharealike-introduction",18,1790071893,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":97,"category_name":29,"create_tm":213},685841,"Markdown Syntax Guide - Quick Reference","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000227664/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=%2BpUoRWeU7Oi%2BVjAvbm9HmbNZENI%3D","markdown-syntax-guide-quick-reference",1794019531,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":55,"category_name":29,"create_tm":219},650131,"Markups for Design Review","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229972510578/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=Jr5RBoLDcNGodbzpk2rz4fDY1Qw%3D","markups-for-design-review",1792819097,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":225,"category_name":29,"create_tm":226},348237,"rmarkdown Cheatsheet 2.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911603589/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=vtKs6KP%2BTknk22vJx0cU5YrL%2BwQ%3D","rmarkdown-cheatsheet-20",15,1790071904]