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

feat: Applied a monospaced font to a code block #80

Merged
merged 1 commit into from
Jul 9, 2020

Conversation

korosuke613
Copy link
Contributor

@korosuke613 korosuke613 commented Jul 1, 2020

closes #81

スクリーンショット 2020-07-01 13 31 11

@korosuke613 korosuke613 closed this Jul 1, 2020
@korosuke613 korosuke613 changed the title enable-monospaced-font feat: Applied a monospaced font to a code block Jul 1, 2020
@korosuke613 korosuke613 reopened this Jul 1, 2020
@korosuke613
Copy link
Contributor Author

CI通るように修正します

@korosuke613 korosuke613 marked this pull request as draft July 1, 2020 04:05
@korosuke613 korosuke613 marked this pull request as ready for review July 1, 2020 04:24
@ganta ganta self-requested a review July 1, 2020 04:30
Copy link
Owner

@ganta ganta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@korosuke613 コメントしました〜

src/app/markdown/renderer/marktone-renderer.ts Outdated Show resolved Hide resolved
src/app/markdown/renderer/marktone-renderer.ts Outdated Show resolved Hide resolved
Copy link
Owner

@ganta ganta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@korosuke613
呼び出される頻度から、コンストラクタで構築したほうがパフォーマンス的にもよいかと思います。
変数名の指摘だけしましたので、ご確認ください〜。

"Menlo",
"monospace",
];
private monospaceFontFamilies: string;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[MUST]
この変数名だと配列が入っているように見えてしまうので、monospaceFontFamiliesStringにしましょうか

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Co-authored-by: Hideki Igarashi <hideki.develop@gmail.com>
Copy link
Owner

@ganta ganta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@korosuke613
Thank you for your contribution!

リリースは #83 とまとめてやろうと思います

@ganta ganta merged commit b94cfba into ganta:master Jul 9, 2020
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

Successfully merging this pull request may close these issues.

Monospace fonts are not applied in code blocks
2 participants