[infinispan-issues] [JBoss JIRA] (ISPN-11413) Allow copy source code from document without markdown

Donald Naro (Jira) issues at jboss.org
Fri Mar 13 12:36:45 EDT 2020


    [ https://issues.redhat.com/browse/ISPN-11413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13998510#comment-13998510 ] 

Donald Naro commented on ISPN-11413:
------------------------------------

[~dlovison] I think the only way to fix this is to remove the callouts. I think it's worth doing that to improve the experience and make it easy to copy/paste code examples. Thanks for reporting this.

> Allow copy source code from document without markdown
> -----------------------------------------------------
>
>                 Key: ISPN-11413
>                 URL: https://issues.redhat.com/browse/ISPN-11413
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Documentation
>    Affects Versions: 10.1.3.Final
>            Reporter: Diego Lovison
>            Assignee: Donald Naro
>            Priority: Major
>
> When copying source code from a document that has markdowns like : ( 1 ), ( 2 ) the markdowns are present in the clipboard.
> Example:
> {noformat}
> ConfigurationBuilder clientBuilder = new ConfigurationBuilder();
> clientBuilder
>    .addServer()
>       .host("127.0.0.1")
>       .port(11222)
>    .security()
>       .ssl()
>          // Server SNI hostname.
>          .sniHostName("myservername") 1
>          // Server certificate keystore.
>          .trustStoreFileName("/path/to/truststore") 2
>          .trustStorePassword("truststorepassword".toCharArray())
>          // Client certificate keystore.
>          .keyStoreFileName("/path/to/client/keystore") 3
>          .keyStorePassword("keystorepassword".toCharArray());
> RemoteCache<String, String> cache=remoteCacheManager.getCache("secured");
> {noformat}
> I would like to copy only the source code without 1, 2, 3



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list