활용2014. 5. 4. 09:58

블로그 등에서 코드를 넣는 태그가 있는데.
이 태그가 좀 이쁜 편이다.

에버노트에서도 가져다 써볼까?
생각해보니 에버노트는 자체적으로 코드를 지원하지는 않지만 웹페이지의 소스를 가져오면 그 코드를 보여준다.

tistory 에서 코드힌트가 괜찮은데
그 힌트 를 복사해 두었다가 필요할때 가져다 쓴다. 좋은생각인데 ?


하얀색 점선



회색 점선



노란색 점선



빨간색 점선



녹색 점선



파란색 점선







1x1 표를 만들어 코드를 넣는다.

뭐 적절한 방법. 그런데 안의 코드에도 뭔가 힌트가 들어가게 만들고 싶다.

검색>

아래의 링크에서 소스를 보기좋게 만들어 준다. 
그걸 복사해서 1x1표 안에 넣는다.


;// download the webpage source
URLDownloadToFile, http://www.google.com, Google_HTML
FileRead, html, Google_HTML
;FileDelete, Google_HTML

;// write the Google Source to an HTMLfile
document := ComObjCreate("HTMLfile")
document.write(html)

;// loop through all the links
links := document.links
while (A_Index<=links.length, i:=A_Index-1)
   list .= i ") " links[i].innerText "`nURL: " links[i].href "`n`n"

;// some URLs have "about:" rather than the domain
StringReplace, list, list, about:, http://www.google.com, All

MsgBox, %list%

그럭저럭
위의 컬러와 결합해서 쓰면 좀더 이쁠듯.




;// download the webpage source
URLDownloadToFile, http://www.google.com, Google_HTML
FileRead, html, Google_HTML
;FileDelete, Google_HTML

;// write the Google Source to an HTMLfile
document := ComObjCreate("HTMLfile")
document.write(html)

;// loop through all the links
links := document.links
while (A_Index<=links.length, i:=A_Index-1)
   list .= i ") " links[i].innerText "`nURL: " links[i].href "`n`n"

;// some URLs have "about:" rather than the domain
StringReplace, list, list, about:, http://www.google.com, All

MsgBox, %list%





'활용' 카테고리의 다른 글

원노트2007(oneNote2007)을 이용해 Tistory에 글 올리기  (0) 2009.07.13
Posted by 1000c