Room-specific default syntax language for markdown pastes
Rooms often tend to paste code in just 1 language. It would be nice with the ability to set default language for markdown pastes, which pastes would default to if nothing else is specified. The language set for markdown pastes determine its syntax highlighting.
For example, here's some Haskell code without specified language:
pattern (:-) :: (Elt a, Elt b) => Exp a -> Exp b -> Exp (a, b)
pattern r :- c <- (unlift -> (r, c))
where
r :- c = lift (r, c)
{-# COMPLETE (:-) #-}
With Haskell as specified lang:
pattern (:-) :: (Elt a, Elt b) => Exp a -> Exp b -> Exp (a, b)
pattern r :- c <- (unlift -> (r, c))
where
r :- c = lift (r, c)
{-# COMPLETE (:-) #-}