Page MenuHomePhabricator

[electrum] specify language for code blocks in markdown
ClosedPublic

Authored by PiRK on Jul 19 2023, 08:07.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC577fb65563ad: [electrum] specify language for code blocks in markdown
Summary

This enables syntax highlighting for code blocks in tools that support that feature.

Note that bash is an alias for shell (see https://github.com/github-linguist/linguist/blob/master/lib/linguist/languages.yml), and we already have some code blocks annotated with shell, so lets use it everywhere.

Test Plan

checked rendering in my IDE (PyCharm or CLion provide that)

Diff Detail

Repository
rABC Bitcoin ABC
Branch
electrum_backports
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24547
Build 48691: Build Diffelectrum-tests
Build 48690: arc lint + arc unit

Event Timeline

PiRK requested review of this revision.Jul 19 2023, 08:07
PiRK retitled this revision from [electrum] enable syntax highlighting for code blocks to [electrum] specify language for code blocks in markdown.Jul 19 2023, 08:12
PiRK edited the summary of this revision. (Show Details)
Fabien added a subscriber: Fabien.
Fabien added inline comments.
electrum/contrib/build-linux/README.md
9

We should remove the $ signs so we can copy paste, also it's likely to break the syntax coloring

This revision is now accepted and ready to land.Jul 19 2023, 11:50