Is it possible to embed stable github links?
App Development3 posts322 views6 likesLast activity Apr 2020
GE
gerolfOP
Apr 2020When posting a stable github link like daml/daml_kvutils.proto at 8e94c7af251eee175363b8b7f45e481a0aca90f7 · digital-asset/daml · GitHub in a github comment, github inlines the referred lines of code like this:

Is there a plugin for discourse that enables a similar behavior?
AN
anthony
Apr 2020Done 
digital-asset/daml/blob/8e94c7af251eee175363b8b7f45e481a0aca90f7/ledger/participant-state/kvutils/src/main/protobuf/daml_kvutils.proto#L388-L390
- message DamlContractState {
- // The time from which the contract is active.
- google.protobuf.Timestamp active_at = 1;
Also seems those links don’t get code highlighting but gists do (sometimes), probably how GH chooses to produce them.
gist.github.comhttps://gist.github.com/anthonylusardi-da/eab9f5a40fc81a4c1572408acc196fed
szabo_car_contract.hs
daml 1.2
module Main where
template LeaseOperation
with
creditor : Party
owner : Party
car : Party
payment : Payment
This file has been truncated. show original