Title: Formatting of newlines in gitbook · Issue #805 · InnerSourceCommons/InnerSourcePatterns · GitHub
Open Graph Title: Formatting of newlines in gitbook · Issue #805 · InnerSourceCommons/InnerSourcePatterns
X Title: Formatting of newlines in gitbook · Issue #805 · InnerSourceCommons/InnerSourcePatterns
Description: gitbook is the tool that we use to host https://patterns.innersourcecommons.org. gitbook has (recently) changed the way that newline characters (\n) in our markdown files are rendered. Previously a single newline character did not genera...
Open Graph Description: gitbook is the tool that we use to host https://patterns.innersourcecommons.org. gitbook has (recently) changed the way that newline characters (\n) in our markdown files are rendered. Previously a...
X Description: gitbook is the tool that we use to host https://patterns.innersourcecommons.org. gitbook has (recently) changed the way that newline characters (\n) in our markdown files are rendered. Previously a...
Opengraph URL: https://github.com/InnerSourceCommons/InnerSourcePatterns/issues/805
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Formatting of newlines in gitbook","articleBody":"gitbook is the tool that we use to host https://patterns.innersourcecommons.org.\n\ngitbook has (recently) changed the way that newline characters (`\\n`) in our markdown files are rendered.\n\nPreviously a single newline character did not generate a line break.\nThat meant that we could format our pattern files like below to allow for easier line-based commenting when reviewing patterns.\n\n```\nThere's a central project that everyone depends on.\nWhat a great candidate for InnerSource!\nUnfortunately, the project has grown organically, with various contributions and additions slapped on haphazardly.\n```\n\nRecently gitbook made change in this rendering logic. Now such text in markdown is rendered exactly as shown i.e. each newline in the markdown also leads to a line break in the rendered HTML. This does not look great. See screenshot below.\n\n\n\n\n","author":{"url":"https://github.com/spier","@type":"Person","name":"spier"},"datePublished":"2025-03-27T12:48:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/805/InnerSourcePatterns/issues/805"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f531b793-9536-91a5-85bc-37933e889f77 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A724:7FC80:305F287:4230776:6964EBD2 |
| html-safe-nonce | 709847a0e506909222c1cbcf608fb3beac605683f37286a73bf04716cb6b0b51 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzI0OjdGQzgwOjMwNUYyODc6NDIzMDc3Njo2OTY0RUJEMiIsInZpc2l0b3JfaWQiOiI3NzIxMDUwOTE1ODA3MjI2ODM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0163878dffa007c90f3f83a931f34c746fab9f00f099a23b49d14ddf04b16e67 |
| hovercard-subject-tag | issue:2952875738 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/InnerSourceCommons/InnerSourcePatterns/805/issue_layout |
| twitter:image | https://opengraph.githubassets.com/50eb392a9783f9507cb24dffc0269c46cd71ca8dae6a5fc2073f5f896d4f3f7c/InnerSourceCommons/InnerSourcePatterns/issues/805 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/50eb392a9783f9507cb24dffc0269c46cd71ca8dae6a5fc2073f5f896d4f3f7c/InnerSourceCommons/InnerSourcePatterns/issues/805 |
| og:image:alt | gitbook is the tool that we use to host https://patterns.innersourcecommons.org. gitbook has (recently) changed the way that newline characters (\n) in our markdown files are rendered. Previously a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | spier |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3c30097417ecb9dfdab6b2e8bc7dc38d73e183d6ad48f94cb69e4a5daa2dbb87 |
| turbo-cache-control | no-preview |
| go-import | github.com/InnerSourceCommons/InnerSourcePatterns git https://github.com/InnerSourceCommons/InnerSourcePatterns.git |
| octolytics-dimension-user_id | 43893662 |
| octolytics-dimension-user_login | InnerSourceCommons |
| octolytics-dimension-repository_id | 74069383 |
| octolytics-dimension-repository_nwo | InnerSourceCommons/InnerSourcePatterns |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 74069383 |
| octolytics-dimension-repository_network_root_nwo | InnerSourceCommons/InnerSourcePatterns |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 69fc54a84c74307369dba42af5401200531d116e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width