You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ashwin Ramaswami (Jira)" <ji...@apache.org> on 2020/05/26 16:20:00 UTC

[jira] [Commented] (BEAM-10092) Code blocks that specify a language are hidden.

    [ https://issues.apache.org/jira/browse/BEAM-10092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17116866#comment-17116866 ] 

Ashwin Ramaswami commented on BEAM-10092:
-----------------------------------------

This is sometimes expected behavior, though. For example, in [https://beam.apache.org/documentation/programming-guide/], we have several codeblocks that are ```java or ```py, which we _do_ want to be kept hidden if the user hasn't switched to that language.


Here's a potential solution – what do you think?
 * If a code block switcher is defined for languages X and Y,
 * When deciding whether to hide a code block, always show code blocks that have languages not equal to X or Y

> Code blocks that specify a language are hidden.
> -----------------------------------------------
>
>                 Key: BEAM-10092
>                 URL: https://issues.apache.org/jira/browse/BEAM-10092
>             Project: Beam
>          Issue Type: Bug
>          Components: website
>            Reporter: Kyle Weaver
>            Priority: P2
>
> For example, if I want sql syntax highlighting:
> ```sql
> SELECT * FROM table;
> ```
> The code block will appear empty.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)