软件著作权是形式审查的,也就是说软件著作权登记后,如果别人参照你的算法,用其他程序写或有意识绕开,则可以再次登记软件著作权。想要保护核心算法的话还是要申请专利为好。
js:
//代码高亮自定义$("code").each(function(){
$(this).html("<ul><li>" + $(this).html().replace(/\n/g,"\n</li><li>") +"\n</li></ul>")
})
css:
.hljs {border: 0
font-family: "Consulas", "Courier New", Courier, mono, serif
font-size: 12px
display: block
padding: 1px
margin: 0
width: 100%
font-weight: 200
white-space: pre-wrap
}
.hljs ul {
list-style: decimal
margin: 0px 0px 0 40px !important
padding: 0px
}
.hljs ul li {
list-style: decimal-leading-zero
border-left: 1px solid #ddd !important
padding: 5px!important
margin: 0 !important
line-height: 14px
word-break: break-all
word-wrap: break-word
}
.hljs ul li:nth-of-type(even) {
background-color:/*偶数行背景色,可以不设置 */
color: inherit
}
详情可以参考:https://www.jiangfei.net
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)