diff --git a/docs/README.md b/docs/README.md index c63a12b589..f323f3bdbe 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,3 +1,15 @@ # Documentation The Backstage documentation is available at https://backstage.io/docs + +# H1 + +## H2 + +### H3 + +#### H4 + +##### H5 + +###### H6 diff --git a/plugins/techdocs/src/reader/transformers/styles/rules/typeset.ts b/plugins/techdocs/src/reader/transformers/styles/rules/typeset.ts index e24b61da83..63d0f432e3 100644 --- a/plugins/techdocs/src/reader/transformers/styles/rules/typeset.ts +++ b/plugins/techdocs/src/reader/transformers/styles/rules/typeset.ts @@ -38,8 +38,8 @@ ${headings.reduce((style, heading) => { const calculate = (value: typeof fontSize) => { let factor: number | string = 1; if (typeof value === 'number') { - // 60% of the size defined because it is too big - factor = (value / 16) * 0.6; + // convert px to rem + factor = value / 16; } if (typeof value === 'string') { factor = value.replace('rem', '');