Giter VIP home page Giter VIP logo

Comments (10)

Nnwww avatar Nnwww commented on May 25, 2024

ではPRを投げる側でコードブロックを削除しておいた方が良いですか?

from the-rust-programming-language-ja.

KeenS avatar KeenS commented on May 25, 2024

はい。おねがいします。他に良い方法(コメント部分だけ抽出してコメントアウトしておくとか)があるならその方がいいのですがとりあえずは削除ということでお願いします。

from the-rust-programming-language-ja.

yohhoy avatar yohhoy commented on May 25, 2024

ブロックコードのコメントアウトとは、具体的にどのような記述でしょうか?下記のようなもの?

<!-- Is this `block code`? -->

from the-rust-programming-language-ja.

KeenS avatar KeenS commented on May 25, 2024

それは問題ないです。バッククォートを3つ使った別行立ての方です。

<!-- ```
   this is the block code
  ``` -->

from the-rust-programming-language-ja.

KeenS avatar KeenS commented on May 25, 2024

#28 にてそれっぽい解決策発見。

# // let x = "foo" // this is a commet
let x = "foo" // これはコメントです。

のようにするとHTMLの表示上は原文は見えない。

@Nnwww @yohhoy @tatsuya6502 @ykomatsu @dalance
この方式でどうでしょうか。

from the-rust-programming-language-ja.

ykomatsu avatar ykomatsu commented on May 25, 2024

「Documentation as tests」で使われている方法ですね。
いいと思います。

from the-rust-programming-language-ja.

Nnwww avatar Nnwww commented on May 25, 2024

良いと思います。

from the-rust-programming-language-ja.

tatsuya6502 avatar tatsuya6502 commented on May 25, 2024

#13 (comment)

# // let x = "foo" // this is a commet
let x = "foo" // これはコメントです。

この方式でどうでしょうか

試してみました。

  • rustbook で生成した HTML → 英文が表示されない
  • play.rust-lang.org のコードエディタ → 英文も和文もコードコメントとして表示される

いいですね。この方法に賛成します。

from the-rust-programming-language-ja.

KeenS avatar KeenS commented on May 25, 2024

ありがとうございます。既存のものの変換とCONTRIBUTINGの変更しますね。

from the-rust-programming-language-ja.

KeenS avatar KeenS commented on May 25, 2024

done

from the-rust-programming-language-ja.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.