How to make Source Code Generator Tools Website || In blogger || Free Script ||

Hello Friends तो जैसा कि आप लोग जानते हैं कि बहुत सारे लोग Blogging के द्वारा पैसे गवा रहे है। अपने पैसों को बेस्ट कर रहे हैं। उन्हें समझ नहीं आ रहा है कि कैसे Blogger पर Traffic लाया, कैसे Adsense का Approval ले।





तो ऐसे समय में मैंने आपके लिए Source Code Generator Tool Website का Script  लाया है। इसके बारे में आप Article लिख सकते है की कैसे लोगो इसे Use करना है और इसे अपने Blogger के Site पर लगाकर आप पैसे कमा सकते हैं। इस तरह की Website पर जल्दी Adsense Approval होता है। तो कैसे  आपको इसे Blogger में Create करना है और कैसे Code को Copy करना है यह सब Process मैं आपको इस Article में बताऊंगा।

So friends इस कोड को Copy करने के लिए आपको नीचे दिए गए Steps को पूरा करना होगा।


Source Code Generator Tool

बहुत सारे दोस्तों को शायद पता भी नाम हो की ये Source Code Generator क्या होता है? तो मैं आपको बता देना चाहता हूँ की किसी भी Blog Post या Blog Page में जो Source Code उपलब्ध करवाया जाता है. और उसे जिस Format में Post में Add किया जाता है उसे हम Source Code Generator के नाम से जानते है.

पंरतु अब समय के साथ साथ सब कुछ Advance होता जा रहा है. ऐसे में अब Normal Source Code Generator को भी Advance बना दिया गया है. अब इसमें आपको Source Code Generator with 3d Background भी देखने को मिल जाता है. और इसका फायदा यह है की सभी Codes तो अच्छे दिखते ही है लेकिन उसके साथ-साथ Text Area Box और Site भी अच्छे दिखते है। जिसके कारण Sites पर ज्यादा से ज्यादा Traffic आते हैं



इन्हें भी पढ़े:-




Steps To Get The Source Code Generator Script:-

● नीचे दिए गए Get Script Button पर Click करें

तो यह आपको एक नये Page पर Redirect कर देगा

● अब आपको नीचे से Scroll करके Continue पर Click करना है।

● अब आप नीचे Scroll करके Captcha को Solve कर दें और Click Here To Continue पर Click करें।

● फिर आपको Countdown Timer मतलब की उल्टी गिनती करता हुआ बक्सा एक गोल घेरे में दिख रहा होगा तब तक Wait करें और फिर Get Link पर Click करें।

● अब आपको Blue या Green Source के बक्से में Code दिख रहा होगा।

● अब आप Code को Copy कर ले।


 <!DOCTYPE html><html lang="en-US" prefix="og: http://ogp.me/ns#"><head><meta charset="UTF-8"><link rel="profile" href="https://gmpg.org/xfn/11"><title>Source Code Formatter Tool for Blogger, WordPress, Blogspot &raquo; Techno-sahil.blogspot.com</title><style id="rocket-critical-css">:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}p.has-background{padding:20px 38px}p.has-text-color a{color:inherit}.wp-block-separator.is-style-wide{border-bottom-width:1px}:root .has-black-background-color{background-color:#000}:root .has-white-color{color:#fff}:root .has-black-color{color:#000}.ss-popup-overlay .ss-copy-action .ss-button,.ss-popup-overlay .ss-popup .ss-close-modal{border:0;text-shadow:none;-webkit-box-shadow:none;box-shadow:none;outline:0;text-decoration:none;text-transform:none;letter-spacing:0}.ss-svg-icon{height:16px;width:auto;vertical-align:text-bottom;fill:currentColor}.ss-popup-overlay{display:none;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Arial,"Helvetica Neue",sans-serif;-webkit-font-smoothing:initial;content:"";position:fixed;top:0;bottom:0;left:0;right:0;z-index:99999;background:rgba(202,202,202,.75);opacity:0}.ss-popup-overlay .ss-copy-action{position:relative;display:none}.ss-popup-overlay .ss-copy-action .ss-button{font-weight:400;font-family:inherit;position:absolute;right:6px;top:5px;background-color:#557ceb;color:#fff;padding:0;line-height:38px;height:38px;width:105px;font-size:16px;z-index:9;border-radius:2px}.ss-popup-overlay .ss-copy-action svg{position:absolute;height:24px;width:24px;top:50%;left:15px;margin-top:-12px;fill:#dadada}.ss-popup-overlay .ss-popup{opacity:0;border-radius:2px;max-width:90%;max-height:90%;width:720px;height:auto}.ss-popup-overlay .ss-popup .ss-popup-heading{display:block;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:16px;font-weight:300;color:#323b43;background-color:#fff;line-height:58px;height:58px;padding:0 0 0 24px;margin:0;border-top-left-radius:4px;border-top-right-radius:4px}.ss-popup-overlay .ss-popup .ss-close-modal{margin-left:auto;padding:0 24px;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#a9a9a9}.ss-popup-overlay .ss-popup .ss-close-modal svg{width:16px;height:16px}.ss-popup-overlay .ss-popup .ss-popup-content{position:relative;top:3px;left:0;right:0;bottom:0;max-height:70vh;background-color:#fff;overflow-y:scroll;padding:24px 24px 20px;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.ss-popup-overlay .ss-popup .ss-powered-by{margin-top:12px;font-size:12px;text-align:center;color:#aaa;width:100%}.ss-popup-overlay .ss-popup .ss-powered-by a{color:#557ceb}.ss-popup-overlay .ss-popup .ss-powered-by a svg{height:14px;display:inline-block;margin-right:4px;margin-left:1px}.ss-share-network-tooltip{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Arial,"Helvetica Neue",sans-serif;-webkit-font-smoothing:initial;position:absolute;line-height:1;left:100%;margin-left:12px;background-color:rgba(56,70,84,.85);top:50%;width:auto;white-space:nowrap;padding:8px 10px;border-radius:2px;font-size:12px;color:rgba(255,255,255,.9);z-index:2;opacity:0;-webkit-transform:translateX(-7px) translateY(-50%);-ms-transform:translateX(-7px) translateY(-50%);transform:translateX(-7px) translateY(-50%)}.ss-copy-action .ss-share-network-tooltip{left:auto;margin-left:0;right:100%;margin-right:12px;-webkit-transform:translateX(7px) translateY(-50%);-ms-transform:translateX(7px) translateY(-50%);transform:translateX(7px) translateY(-50%)}.grid-100:after,.grid-100:before,.grid-container:after,.grid-container:before,[class*=mobile-grid-]:after,[class*=mobile-grid-]:before,[class*=tablet-grid-]:after,[class*=tablet-grid-]:before{content:".";display:block;overflow:hidden;visibility:hidden;font-size:0;line-height:0;width:0;height:0}.grid-100:after,.grid-container:after,[class*=mobile-grid-]:after,[class*=tablet-grid-]:after{clear:both}.grid-container{margin-left:auto;margin-right:auto;max-width:1200px;padding-left:10px;padding-right:10px}.grid-100,[class*=mobile-grid-],[class*=tablet-grid-]{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;padding-left:10px;padding-right:10px}.grid-parent{padding-left:0;padding-right:0}@media (max-width:767px){.mobile-grid-100{clear:both;width:100%}}@media (min-width:768px) and (max-width:1024px){.tablet-grid-100{clear:both;width:100%}}@media (min-width:1025px){.grid-100{clear:both;width:100%}}html,body,div,span,h1,p,blockquote,a,ins,strong,ul,li,form,table,tbody,tr,td{border:0;margin:0;padding:0}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}article,header,main,nav{display:block}ul{list-style:none}table{border-collapse:separate;border-spacing:0}td{font-weight:400;text-align:left;padding:5px}blockquote:before,blockquote:after{content:""}a{background-color:transparent}a img{border:0}body,button,input{font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-weight:400;text-transform:none;font-size:17px;line-height:1.5}p{margin-bottom:1.5em}h1{font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit}blockquote{border-left:5px solid rgba(0,0,0,.05);padding:20px;font-size:1.2em;font-style:italic;margin:0 0 1.5em;position:relative}blockquote p:last-child{margin:0}table,td{border:1px solid rgba(0,0,0,.1)}table{border-collapse:separate;border-spacing:0;border-width:1px 0 0 1px;margin:0 0 1.5em;width:100%}td{padding:8px}td{border-width:0 1px 1px 0}hr{background-color:rgba(0,0,0,.1);border:0;height:1px;margin-bottom:40px;margin-top:40px}h1{font-size:40px;margin-bottom:20px;line-height:1.2em;font-weight:300;text-transform:none}ul{margin:0 0 1.5em 3em}ul{list-style:disc}li>ul{margin-bottom:0;margin-left:1.5em}b,strong{font-weight:700}ins{text-decoration:none}table{margin:0 0 1.5em;width:100%}img{height:auto;max-width:100%}button,input{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,html input[type=button],input[type=reset]{border:1px solid transparent;background:#666;-webkit-appearance:button;padding:10px 20px;color:#fff}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input[type=search]{background:#fafafa;color:#666;border:1px solid #ccc;border-radius:0;padding:10px 15px;box-sizing:border-box;max-width:100%}a,a:visited{text-decoration:none}.screen-reader-text{position:absolute!important;clip:rect(0,0,0,0);height:1px;width:1px;border:0;overflow:hidden}.entry-content:after,.site-content:after{content:"";display:table;clear:both}.main-navigation{z-index:100;padding:0;clear:both;display:block}.inside-navigation{position:relative}.main-navigation a{display:block;text-decoration:none;font-weight:400;text-transform:none;font-size:15px}.main-navigation ul li a{display:block}.main-navigation li{float:left;position:relative}.main-navigation ul{list-style:none;margin:0;padding-left:0}.main-navigation .main-nav ul li a{padding-left:20px;padding-right:20px;line-height:60px}.menu-toggle,.mobile-bar-items{display:none}.menu-toggle{padding:0 20px;line-height:60px;margin:0;font-weight:400;text-transform:none;font-size:15px}.main-navigation .mobile-bar-items a{padding-left:20px;padding-right:20px;line-height:60px}.search-item a:before{content:"\f002";font-family:GeneratePress;width:1.28571429em;text-align:center;display:inline-block}.main-navigation li.search-item{float:right;z-index:21}.navigation-search{position:absolute;left:-99999px;visibility:hidden;z-index:20;width:100%;top:0;opacity:0}.navigation-search input{outline:0;border:0;vertical-align:bottom;line-height:0;opacity:.9;width:100%;z-index:20;border-radius:0;-webkit-appearance:none}.navigation-search input::-ms-clear{display:none;width:0;height:0}.navigation-search input::-ms-reveal{display:none;width:0;height:0}.navigation-search input::-webkit-search-decoration,.navigation-search input::-webkit-search-cancel-button,.navigation-search input::-webkit-search-results-button,.navigation-search input::-webkit-search-results-decoration{display:none}.navigation-search input{height:60px}.main-navigation ul ul{display:block;box-shadow:0 2px 2px rgba(0,0,0,.1);float:left;position:absolute;left:-99999px;opacity:0;z-index:99999;width:200px;text-align:left;top:auto;height:0;overflow:hidden}.main-navigation ul ul a{display:block}.main-navigation ul ul li{width:100%}.main-navigation .main-nav ul ul li a{line-height:normal;padding:10px 20px;font-size:14px}.main-navigation .main-nav ul ul li a{line-height:normal}.main-navigation .main-nav ul li.menu-item-has-children>a{padding-right:0;position:relative}.menu-item-has-children .dropdown-menu-toggle{display:inline-block;height:100%;clear:both;padding-right:20px;padding-left:10px}.dropdown-menu-toggle:before{content:"\f107";font-family:GeneratePress;display:inline-block;width:.8em;text-align:left}.nav-aligned-right .main-navigation .menu>li{float:none;display:inline-block}.nav-aligned-right .main-navigation ul{letter-spacing:-.31em;font-size:1em}.nav-aligned-right .main-navigation ul li{letter-spacing:normal}.nav-aligned-right .main-navigation{text-align:right}.site-logo{display:inline-block;max-width:100%}.entry-content{margin:2em 0 0}.site-content,.entry-header{word-wrap:break-word}.entry-title{margin-bottom:0}.one-container .site-main>:last-child{margin-bottom:0}.one-container .site-content{padding:40px}.generate-back-to-top:before{content:"\f106";font-family:GeneratePress}.generate-back-to-top,.generate-back-to-top:visited{font-size:20px;border-radius:3px;position:fixed;bottom:30px;right:30px;line-height:40px;width:40px;text-align:center;z-index:10}.generate-back-to-top .screen-reader-text{left:0;margin:0}.menu-toggle:before,.search-item a:before,.dropdown-menu-toggle:before,.generate-back-to-top:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1;speak:none}.container.grid-container{width:auto}button.menu-toggle{background-color:transparent;width:100%;border:0;text-align:center}.menu-toggle:before{content:"\f0c9";font-family:GeneratePress;width:1.28571429em;text-align:center;display:inline-block}.menu-toggle .mobile-menu{padding-left:3px}.nav-search-enabled .main-navigation .menu-toggle{text-align:left}.mobile-bar-items{display:none;position:absolute;right:0;top:0;z-index:21;list-style-type:none}.mobile-bar-items a{display:inline-block}@media (max-width:768px){.content-area{float:none;width:100%;left:0;right:0}.site-main{margin-left:0!important;margin-right:0!important}}.navigation-branding{display:flex;align-items:center;order:1;margin-right:auto;margin-left:10px}.navigation-branding img{position:relative;vertical-align:middle;padding:10px 0;display:block;box-sizing:border-box}.navigation-branding img{margin-right:10px}.main-navigation:not(.grid-container):not(.mobile-header-navigation) .inside-navigation.grid-container .navigation-branding{margin-left:0}.main-navigation.has-branding .inside-navigation{flex-wrap:wrap;display:flex;align-items:center}.main-navigation .menu-toggle{flex-grow:1;width:auto}.main-navigation.has-branding .menu-toggle{flex-grow:0;order:3;padding-right:20px}.main-navigation .mobile-bar-items{order:2;position:relative}.main-navigation:not(.slideout-navigation) .mobile-bar-items+.menu-toggle{text-align:left}.main-navigation:not(.slideout-navigation) .main-nav{order:4}.mobile-bar-items{position:relative}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}</style><link rel="preload" href="https://techly360.com/wp-content/cache/min/1/7d941d99d8ba7d79a9d770a0607f9047.css" as="style" onload="this.onload=null;this.rel='stylesheet'" data-minify="1" /><meta name="description" content="Source Code Formatter online, java code Formatter, HTML Formatter, javascript beautifier, XML Formatter, CSS Formatter, JSON beautifier, c code Formatter, Online syntax highlighter" /><meta name="robots" content="follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large" /><link rel="canonical" href="https://techly360.com/source-code-formatter-tool/" /><meta property="og:locale" content="en_US"><meta property="og:type" content="article"><meta property="og:title" content="Source Code Formatter Tool for Blogger, WordPress, Blogspot &raquo; Techly360.com"><meta property="og:description" content="Source Code Formatter online, java code Formatter, HTML Formatter, javascript beautifier, XML Formatter, CSS Formatter, JSON beautifier, c code Formatter, Online syntax highlighter"><meta property="og:url" content="https://techly360.com/source-code-formatter-tool/"><meta property="og:site_name" content="Techly360.com"><meta property="article:publisher" content="https://www.facebook.com/techly360"><meta property="article:author" content="https://facebook.com/rohit.baidya.338"><meta property="og:updated_time" content="2020-08-30T07:37:41+05:30"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="Source Code Formatter Tool for Blogger, WordPress, Blogspot &raquo; Techly360.com"><meta name="twitter:description" content="Source Code Formatter online, java code Formatter, HTML Formatter, javascript beautifier, XML Formatter, CSS Formatter, JSON beautifier, c code Formatter, Online syntax highlighter"> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","headline":"Source Code Formatter Tool for Blogger, WordPress, Blogspot &raquo; Techly360.com","datePublished":"2020-07-08T14:25:46+05:30","dateModified":"2020-08-30T07:37:41+05:30","publisher":{"@type":"Organization","name":"Techly360","logo":{"@type":"ImageObject","url":"https:\/\/techly360.com\/wp-content\/uploads\/2020\/04\/Techly360-min-1.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https:\/\/techly360.com\/source-code-formatter-tool\/"},"author":{"@type":"Person","name":"Rohit Baidya"},"description":"Source Code Formatter online, java code Formatter, HTML Formatter, javascript beautifier, XML Formatter, CSS Formatter, JSON beautifier, c code Formatter, Online syntax highlighter"},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"https:\/\/techly360.com","name":"Home"}},{"@type":"ListItem","position":2,"item":{"@id":"https:\/\/techly360.com\/source-code-formatter-tool\/","name":"Source Code Formatter Tool for Blogger, WordPress, Blogspot"}}]}]}</script> <link rel='dns-prefetch' href='//fonts.googleapis.com' /><link rel='dns-prefetch' href='//maps.googleapis.com' /><link rel='dns-prefetch' href='//maps.gstatic.com' /><link rel='dns-prefetch' href='//fonts.gstatic.com' /><link rel='dns-prefetch' href='//ajax.googleapis.com' /><link rel='dns-prefetch' href='//apis.google.com' /><link rel='dns-prefetch' href='//google-analytics.com' /><link rel='dns-prefetch' href='//www.google-analytics.com' /><link rel='dns-prefetch' href='//ssl.google-analytics.com' /><link rel='dns-prefetch' href='//youtube.com' /><link rel='dns-prefetch' href='//api.pinterest.com' /><link rel='dns-prefetch' href='//cdnjs.cloudflare.com' /><link rel='dns-prefetch' href='//pixel.wp.com' /><link rel='dns-prefetch' href='//connect.facebook.net' /><link rel='dns-prefetch' href='//platform.twitter.com' /><link rel='dns-prefetch' href='//syndication.twitter.com' /><link rel='dns-prefetch' href='//platform.instagram.com' /><link rel='dns-prefetch' href='//disqus.com' /><link rel='dns-prefetch' href='//sitename.disqus.com' /><link rel='dns-prefetch' href='//s7.addthis.com' /><link rel='dns-prefetch' href='//platform.linkedin.com' /><link rel='dns-prefetch' href='//w.sharethis.com' /><link rel='dns-prefetch' href='//s0.wp.com' /><link rel='dns-prefetch' href='//s1.wp.com' /><link rel='dns-prefetch' href='//s2.wp.com' /><link rel='dns-prefetch' href='//s.gravatar.com' /><link rel='dns-prefetch' href='//0.gravatar.com' /><link rel='dns-prefetch' href='//2.gravatar.com' /><link rel='dns-prefetch' href='//1.gravatar.com' /><link rel='dns-prefetch' href='//stats.wp.com' /><link rel='dns-prefetch' href='//www.googletagmanager.com' /><link rel='dns-prefetch' href='//www.googletagservices.com' /><link rel='dns-prefetch' href='//adservice.google.com' /><link rel='dns-prefetch' href='//pagead2.googlesyndication.com' /><link rel='dns-prefetch' href='//tpc.googlesyndication.com' /><link rel='dns-prefetch' href='//bp.blogspot.com' /><link rel='dns-prefetch' href='//1.bp.blogspot.com' /><link rel='dns-prefetch' href='//2.bp.blogspot.com' /><link rel='dns-prefetch' href='//3.bp.blogspot.com' /><link rel='dns-prefetch' href='//4.bp.blogspot.com' /><link rel='dns-prefetch' href='//ajax.microsoft.com' /><link rel='dns-prefetch' href='//ajax.aspnetcdn.com' /><link rel='dns-prefetch' href='//s3.amazonaws.com' /><link rel='dns-prefetch' href='//code.jquery.com' /><link rel='dns-prefetch' href='//stackpath.bootstrapcdn.com' /><link rel='dns-prefetch' href='//use.fontawesome.com' /><link rel='dns-prefetch' href='//player.vimeo.com' /><link rel='dns-prefetch' href='//github.githubassets.com' /><link rel='dns-prefetch' href='//referrer.disqus.com' /><link rel='dns-prefetch' href='//c.disquscdn.com' /><link rel='dns-prefetch' href='//ad.doubleclick.net' /><link rel='dns-prefetch' href='//googleads.g.doubleclick.net' /><link rel='dns-prefetch' href='//stats.g.doubleclick.net' /><link rel='dns-prefetch' href='//cm.g.doubleclick.net' /><link rel='dns-prefetch' href='//stats.buysellads.com' /><link rel='dns-prefetch' href='//s3.buysellads.com' /><link rel='dns-prefetch' href='//i0.wp.com' /><link rel='dns-prefetch' href='//i1.wp.com' /><link rel='dns-prefetch' href='//i2.wp.com' /><link rel='dns-prefetch' href='//c0.wp.com' /><link href='https://fonts.gstatic.com' crossorigin rel='preconnect' /><link rel="alternate" type="application/rss+xml" title="Techly360.com &raquo; Feed" href="https://techly360.com/feed/" /><link rel="alternate" type="application/rss+xml" title="Techly360.com &raquo; Comments Feed" href="https://techly360.com/comments/feed/" /><style type="text/css">img.wp-smiley,img.emoji{display:inline!important;border:none!important;box-shadow:none!important;height:1em!important;width:1em!important;margin:0 .07em!important;vertical-align:-0.1em!important;background:none!important;padding:0!important}</style><link rel='preload' id='generate-fonts-css' href='//fonts.googleapis.com/css?family=Ek+Mukta:200,300,regular,500,600,700,800|Ubuntu:500&#038;display=swap' as="style" onload="this.onload=null;this.rel='stylesheet'" type='text/css' media='all' /><link rel='preload' id='wp-block-library-css' href='https://c0.wp.com/c/5.5.1/wp-includes/css/dist/block-library/style.min.css' as="style" onload="this.onload=null;this.rel='stylesheet'" type='text/css' media='all' /><style id='wp-block-library-inline-css' type='text/css'>.has-text-align-justify{text-align:justify}</style><style id='ez-toc-inline-css' type='text/css'>div#ez-toc-container p.ez-toc-title{font-size:120%}div#ez-toc-container p.ez-toc-title{font-weight:500}div#ez-toc-container ul li{font-size:95%}div#ez-toc-container{background:#fffef7;border:1px solid #f26f21}div#ez-toc-container p.ez-toc-title{color:#0a0a0a}div#ez-toc-container ul.ez-toc-list a{color:#0a0204}div#ez-toc-container ul.ez-toc-list a:hover{color:#0a0204}div#ez-toc-container ul.ez-toc-list a:visited{color:#428bca}</style><style id='generate-style-inline-css' type='text/css'>.post-navigation{display:none}body{background-color:#fff;color:#3a3a3a}a,a:visited{color:#f04}a:visited{color:#16c100}a:hover,a:focus,a:active{color:#000}body .grid-container{max-width:1100px}.wp-block-group__inner-container{max-width:1100px;margin-left:auto;margin-right:auto}body,button,input,select,textarea{font-family:"Ek Mukta",sans-serif;font-size:19px}p{margin-bottom:1.4em}.entry-content>[class*="wp-block-"]:not(:last-child){margin-bottom:1.4em}.main-title{font-family:"Ubuntu",sans-serif;font-size:25px}.main-navigation a,.menu-toggle{font-family:"Ek Mukta",sans-serif;font-size:16px}.main-navigation .main-nav ul ul li a{font-size:15px}h1{font-family:"Ek Mukta",sans-serif;font-weight:700}h3{font-size:25px}h4{font-size:20px}@media (max-width:768px){.main-title{font-size:30px}h1{font-size:29px}h2{font-size:25px}}.top-bar{background-color:#636363;color:#fff}.top-bar a,.top-bar a:visited{color:#fff}.top-bar a:hover{color:#303030}.site-header{background-color:#fff;color:#3a3a3a}.site-header a,.site-header a:visited{color:#3a3a3a}.main-title a,.main-title a:hover,.main-title a:visited{color:#fff}.site-description{color:#757575}.main-navigation,.main-navigation ul ul{background-color:#2F4468}.main-navigation .main-nav ul li a,.menu-toggle{color:#fff}.main-navigation .main-nav ul li:hover>a,.main-navigation .main-nav ul li:focus>a,.main-navigation .main-nav ul li.sfHover>a{color:#fff;background-color:rgba(63,63,63,0)}button.menu-toggle:hover,button.menu-toggle:focus,.main-navigation .mobile-bar-items a,.main-navigation .mobile-bar-items a:hover,.main-navigation .mobile-bar-items a:focus{color:#fff}.main-navigation .main-nav ul li[class*="current-menu-"]>a{color:#fff;background-color:rgba(255,255,255,0)}.main-navigation .main-nav ul li[class*="current-menu-"]>a:hover,.main-navigation .main-nav ul li[class*="current-menu-"].sfHover>a{color:#fff;background-color:rgba(255,255,255,0)}.navigation-search input[type="search"],.navigation-search input[type="search"]:active,.navigation-search input[type="search"]:focus,.main-navigation .main-nav ul li.search-item.active>a{color:#fff;background-color:rgba(63,63,63,0)}.main-navigation ul ul{background-color:#3f3f3f}.main-navigation .main-nav ul ul li a{color:#fff}.main-navigation .main-nav ul ul li:hover>a,.main-navigation .main-nav ul ul li:focus>a,.main-navigation .main-nav ul ul li.sfHover>a{color:#fff;background-color:#4f4f4f}.main-navigation .main-nav ul ul li[class*="current-menu-"]>a{color:#fff;background-color:#4f4f4f}.main-navigation .main-nav ul ul li[class*="current-menu-"]>a:hover,.main-navigation .main-nav ul ul li[class*="current-menu-"].sfHover>a{color:#fff;background-color:#4f4f4f}.separate-containers .inside-article,.separate-containers .comments-area,.separate-containers .page-header,.one-container .container,.separate-containers .paging-navigation,.inside-page-header{background-color:#fff}.entry-meta{color:#595959}.entry-meta a,.entry-meta a:visited{color:#595959}.entry-meta a:hover{color:#1e73be}.sidebar .widget{background-color:#fff}.sidebar .widget a,.sidebar .widget a:visited{color:#002468}.sidebar .widget .widget-title{color:#000}.footer-widgets{background-color:#fff}.footer-widgets .widget-title{color:#000}.site-info{color:#fff;background-color:#2f4468}.site-info a,.site-info a:visited{color:#fff}.site-info a:hover{color:#606060}.footer-bar .widget_nav_menu .current-menu-item a{color:#606060}input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="tel"],input[type="number"],textarea,select{color:#666;background-color:#fafafa;border-color:#ccc}input[type="text"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="password"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="number"]:focus,textarea:focus,select:focus{color:#666;background-color:#fff;border-color:#bfbfbf}button,html input[type="button"],input[type="reset"],input[type="submit"],a.button,a.button:visited,a.wp-block-button__link:not(.has-background){color:#fff;background-color:#f04}button:hover,html input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover,a.button:hover,button:focus,html input[type="button"]:focus,input[type="reset"]:focus,input[type="submit"]:focus,a.button:focus,a.wp-block-button__link:not(.has-background):active,a.wp-block-button__link:not(.has-background):focus,a.wp-block-button__link:not(.has-background):hover{color:#fff;background-color:#3f3f3f}.generate-back-to-top,.generate-back-to-top:visited{background-color:rgba(0,0,0,.4);color:#fff}.generate-back-to-top:hover,.generate-back-to-top:focus{background-color:rgba(0,0,0,.6);color:#fff}.entry-content .alignwide,body:not(.no-sidebar) .entry-content .alignfull{margin-left:-40px;width:calc(100% + 80px);max-width:calc(100% + 80px)}.container.grid-container{max-width:1180px}.rtl .menu-item-has-children .dropdown-menu-toggle{padding-left:20px}.rtl .main-navigation .main-nav ul li.menu-item-has-children>a{padding-right:20px}@media (max-width:768px){.separate-containers .inside-article,.separate-containers .comments-area,.separate-containers .page-header,.separate-containers .paging-navigation,.one-container .site-content,.inside-page-header,.wp-block-group__inner-container{padding:30px}.entry-content .alignwide,body:not(.no-sidebar) .entry-content .alignfull{margin-left:-30px;width:calc(100% + 60px);max-width:calc(100% + 60px)}}.one-container .sidebar .widget{padding:0}@media (max-width:768px){.main-navigation .menu-toggle,.main-navigation .mobile-bar-items,.sidebar-nav-mobile:not(#sticky-placeholder){display:block}.main-navigation ul,.gen-sidebar-nav{display:none}[class*="nav-float-"] .site-header .inside-header>*{float:none;clear:both}}@font-face{font-family:"GeneratePress";src:url(https://techly360.com/wp-content/themes/generatepress/fonts/generatepress.eot);src:url("https://techly360.com/wp-content/themes/generatepress/fonts/generatepress.eot#iefix") format("embedded-opentype"),url(https://techly360.com/wp-content/themes/generatepress/fonts/generatepress.woff2) format("woff2"),url(https://techly360.com/wp-content/themes/generatepress/fonts/generatepress.woff) format("woff"),url(https://techly360.com/wp-content/themes/generatepress/fonts/generatepress.ttf) format("truetype"),url("https://techly360.com/wp-content/themes/generatepress/fonts/generatepress.svg#GeneratePress") format("svg");font-weight:400;font-style:normal}.main-navigation .slideout-toggle a:before,.slide-opened .slideout-overlay .slideout-exit:before{font-family:GeneratePress}.slideout-navigation .dropdown-menu-toggle:before{content:"\f107"!important}.slideout-navigation .sfHover>a .dropdown-menu-toggle:before{content:"\f106"!important}.navigation-branding .main-title{font-weight:700;text-transform:none;font-size:25px;font-family:"Ubuntu",sans-serif}@media (max-width:768px){.navigation-branding .main-title{font-size:30px}}@media (max-width:768px){.main-navigation .menu-toggle,.main-navigation .mobile-bar-items a,.main-navigation .menu-bar-item>a{padding-left:0;padding-right:0}.main-navigation .main-nav ul li a,.main-navigation .menu-toggle,.main-navigation .mobile-bar-items a,.main-navigation .menu-bar-item>a{line-height:39px}.main-navigation .site-logo.navigation-logo img,.mobile-header-navigation .site-logo.mobile-header-logo img,.navigation-search input{height:39px}}</style><style id='generate-navigation-branding-inline-css' type='text/css'>.navigation-branding img,.site-logo.mobile-header-logo img{height:60px;width:auto}.navigation-branding .main-title{line-height:60px}@media (max-width:1110px){#site-navigation .navigation-branding,#sticky-navigation .navigation-branding{margin-left:10px}}@media (max-width:768px){.main-navigation:not(.slideout-navigation) .main-nav{-ms-flex:0 0 100%;flex:0 0 100%}.main-navigation:not(.slideout-navigation) .inside-navigation{-ms-flex-wrap:wrap;flex-wrap:wrap;display:-webkit-box;display:-ms-flexbox;display:flex}.nav-aligned-center .navigation-branding,.nav-aligned-left .navigation-branding{margin-right:auto}.nav-aligned-center .main-navigation.has-branding:not(.slideout-navigation) .inside-navigation .main-nav,.nav-aligned-center .main-navigation.has-sticky-branding.navigation-stick .inside-navigation .main-nav,.nav-aligned-left .main-navigation.has-branding:not(.slideout-navigation) .inside-navigation .main-nav,.nav-aligned-left .main-navigation.has-sticky-branding.navigation-stick .inside-navigation .main-nav{margin-right:0}.navigation-branding img,.site-logo.mobile-header-logo{height:39px}.navigation-branding .main-title{line-height:39px}}</style><style id='rocket-lazyload-inline-css' type='text/css'>.rll-youtube-player{position:relative;padding-bottom:56.23%;height:0;overflow:hidden;max-width:100%}.rll-youtube-player iframe{position:absolute;top:0;left:0;width:100%;height:100%;z-index:100;background:0 0}.rll-youtube-player img{bottom:0;display:block;left:0;margin:auto;max-width:100%;width:100%;position:absolute;right:0;top:0;border:none;height:auto;cursor:pointer;-webkit-transition:.4s all;-moz-transition:.4s all;transition:.4s all}.rll-youtube-player img:hover{-webkit-filter:brightness(75%)}.rll-youtube-player .play{height:72px;width:72px;left:50%;top:50%;margin-left:-36px;margin-top:-36px;position:absolute;background:url(https://techly360.com/wp-content/plugins/wp-rocket/assets/img/youtube.png) no-repeat;cursor:pointer}.wp-has-aspect-ratio .rll-youtube-player{position:absolute;padding-bottom:0;width:100%;height:100%;top:0;bottom:0;left:0;right:0}</style><link rel='preload' id='jetpack_css-css' href='https://c0.wp.com/p/jetpack/8.9.1/css/jetpack.css' as="style" onload="this.onload=null;this.rel='stylesheet'" type='text/css' media='all' /><style id='quads-styles-inline-css' type='text/css'>.quads-ad-label{font-size:12px;text-align:center;color:#333}</style> <link rel="https://api.w.org/" href="https://techly360.com/wp-json/" /><link rel="alternate" type="application/json" href="https://techly360.com/wp-json/wp/v2/pages/7256" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://techly360.com/xmlrpc.php?rsd" /><link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://techly360.com/wp-includes/wlwmanifest.xml" /><meta name="generator" content="WordPress 5.5.1" /><link rel='shortlink' href='https://techly360.com/?p=7256' /><link rel="alternate" type="application/json+oembed" href="https://techly360.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Ftechly360.com%2Fsource-code-formatter-tool%2F" /><link rel="alternate" type="text/xml+oembed" href="https://techly360.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Ftechly360.com%2Fsource-code-formatter-tool%2F&#038;format=xml" /><meta name="p:domain_verify" content="ead1118e9a8d8a859d59093cbb630bc6" /> <style>.no-js img.lazyload{display:none}figure.wp-block-image img.lazyloading{min-width:150px}.lazyload,.lazyloading{opacity:0}.lazyloaded{opacity:1;transition:opacity 900ms;transition-delay:900ms}</style><style type='text/css'>img#wpstats{display:none}</style><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="onesignal" content="wordpress-plugin" /> <style type="text/css">.broken_link,a.broken_link{text-decoration:line-through}</style><link rel="icon" href="https://i0.wp.com/techly360.com/wp-content/uploads/2019/10/cropped-Wwwwwwwwwww1.png?fit=32%2C32&#038;ssl=1" sizes="32x32" /><link rel="icon" href="https://i0.wp.com/techly360.com/wp-content/uploads/2019/10/cropped-Wwwwwwwwwww1.png?fit=192%2C192&#038;ssl=1" sizes="192x192" /><link rel="apple-touch-icon" href="https://i0.wp.com/techly360.com/wp-content/uploads/2019/10/cropped-Wwwwwwwwwww1.png?fit=180%2C180&#038;ssl=1" /><meta name="msapplication-TileImage" content="https://i0.wp.com/techly360.com/wp-content/uploads/2019/10/cropped-Wwwwwwwwwww1.png?fit=270%2C270&#038;ssl=1" /><style type="text/css" id="wp-custom-css">img.attachment-full.size-full{border-radius:10px}.post-image img{border-radius:10px}.posted-on .updated{display:inline-block}.posted-on .published{display:none}.posted-on .updated:before{content:"Last updated: "}.byline img{width:25px;height:25px;border-radius:50%;position:relative;vertical-align:middle;margin:0 10px 0 0}.byline,.sidebar .widget .widget-title{color:#fff;text-align:center;border-radius:1px 14px 14px 14px;background-image:linear-gradient(to right,#0970eb,#008fef,#00a4d8,#00b3b6,#52be9a)}.comments-link,.posted-on{display:inline-block}.comments-link,.posted-on{border-left:1px solid #ddd;padding-left:10px;margin-left:10px}.comments-link:before{display:none}h2.entry-title{margin-bottom:20px}a.read-more{width:100%;box-sizing:border-box;text-align:center}blockquote{border-left:.2em solid #ff4646;background:#673ab714;font-style:normal;padding:8px}.rank-math-breadcrumb{padding:10px px 1px 35px;background:#fafafa;color:#5f5f5f;font-size:17px;box-shadow:rgba(23,43,99,.2) 0 7px 28px!important;border-radius:5px}ul,ol{margin:0 0 1.5em 1.6em}div#ez-toc-container{background:#fffef7;border:1px dashed #ff6d00!important}</style><noscript><style id="rocket-lazyload-nojs-css">.rll-youtube-player,[data-lazy-src]{display:none!important}</style></noscript><script>/*! loadCSS rel=preload polyfill. [c]2017 Filament Group, Inc. MIT License */
(function(w){"use strict";if(!w.loadCSS){w.loadCSS=function(){}}
var rp=loadCSS.relpreload={};rp.support=(function(){var ret;try{ret=w.document.createElement("link").relList.supports("preload")}catch(e){ret=!1}
return function(){return ret}})();rp.bindMediaToggle=function(link){var finalMedia=link.media||"all";function enableStylesheet(){link.media=finalMedia}
if(link.addEventListener){link.addEventListener("load",enableStylesheet)}else if(link.attachEvent){link.attachEvent("onload",enableStylesheet)}
setTimeout(function(){link.rel="stylesheet";link.media="only x"});setTimeout(enableStylesheet,3000)};rp.poly=function(){if(rp.support()){return}
var links=w.document.getElementsByTagName("link");for(var i=0;i<links.length;i++){var link=links[i];if(link.rel==="preload"&&link.getAttribute("as")==="style"&&!link.getAttribute("data-loadcss")){link.setAttribute("data-loadcss",!0);rp.bindMediaToggle(link)}}};if(!rp.support()){rp.poly();var run=w.setInterval(rp.poly,500);if(w.addEventListener){w.addEventListener("load",function(){rp.poly();w.clearInterval(run)})}else if(w.attachEvent){w.attachEvent("onload",function(){rp.poly();w.clearInterval(run)})}}
if(typeof exports!=="undefined"){exports.loadCSS=loadCSS}
else{w.loadCSS=loadCSS}}(typeof global!=="undefined"?global:this))</script>

</head><body data-rsssl=1 class="page-template-default page page-id-7256 wp-custom-logo wp-embed-responsive post-image-aligned-center sticky-menu-slide no-sidebar nav-below-header fluid-header one-container active-footer-widgets-1 nav-search-enabled nav-aligned-right header-aligned-left dropdown-hover elementor-default" itemtype="https://schema.org/WebPage" itemscope>

<div class="site grid-container container hfeed grid-parent" id="page"><div class="site-content" id="content"><div class="content-area grid-parent mobile-grid-100 grid-100 tablet-grid-100" id="primary"><main class="site-main" id="main"><article id="post-2019" class="post-2019 page type-page status-publish infinite-scroll-item" itemtype="https://schema.org/CreativeWork" itemscope><div class="inside-article"><header class="entry-header" aria-label="Content"><h1 class="entry-title" itemprop="headline">Source Code Formatter Tool</h1></header><div class="entry-content" itemprop="text"><div class='widget-content'><style type="text/css">#CICodeFormatterTable td select{font-size:10px;font-weight:normal}
				#CICodeFormatterTable td{font-size:10px;font-weight:normal}
				#CICodeFormatter.pre{padding:0px;margin:0px;font-weight:normal;overflow:auto}</style><table id="CICodeFormatterTable" border="0" cellspacing="2" cellpadding="4" style="font-size:11px;font-family:verdana;width:99%;"><tr><td style="background:#D3E1EF;color:black;font-family:verdana;font-weight:bolder;border-bottom:1px solid blue;">Paste Here Your Source Code</td></tr><tr><td style="background:#f0f0f0;"><textarea id="txtSourceCode" style="width:100%;;height:120px;font-family:arial;font-size:10px;"></textarea></td></tr><tr><td style="background:#D3E1EF;color:black;font-family:verdana;font-weight:bolder;border-bottom:1px solid blue;">Source Code Formatting Options</td></tr><tr><td style="background:#f0f0f0;color:black;font-family:verdana;font-weight:bolder;border-bottom:0px solid blue;"><table width="100%" cellspacing="1" cellpadding="2" style="font-size:11px;font-family:verdana;background:white"><tr><td width="250" style="background:#f0f0f0">
1) Convert Tab into Space :</td><td style="background:#f0f0f0"><select id="cbTabSize"><option value="1" />1<option value="2" />2<option value="3" />3<option value="4" />4<option selected value="5" />5<option value="6" />6<option value="7" />7<option value="8" />8<option value="9" />9<option value="10" />10</select></td></tr><tr><td style="background:#f0f0f0">
2) Need Line Code Numbering :</td><td style="background:#f0f0f0"><select id="cbLineNumbering"><option value="true" />Yes<option selected value="false" />No</select></td></tr><tr><td style="background:#f0f0f0">
3) Remove blank lines :</td><td style="background:#f0f0f0"><select id="cbRemoveBlankLines"><option selected value="true" />Yes<option value="false" />No</select></td></tr><tr><td style="background:#f0f0f0">
4) Embeded styles / Stylesheet :</td><td style="background:#f0f0f0"><select id="cbEmbededStylesheet"><option selected value="true" />Yes<option value="false" />No</select></td></tr><tr><td width="250" style="background:#f0f0f0">
5) Code Block Width :</td><td style="background:#f0f0f0"><select id="cbCodeDivWidth" disabled><option value="auto" />auto width<option selected value="99%" />100%<option value="100px" />100px<option value="150px" />150px<option value="200px" />200px<option value="250px" />250px<option value="300px" />300px<option value="350px" />350px<option value="400px" />400px<option value="450px" />450px<option value="500px" />500px<option value="550px" />550px<option value="600px" />600px<option value="650px" />650px<option value="700px" />700px<option value="750px" />750px<option value="800px" />800px<option value="850px" />850px<option value="900px" />900px<option value="950px" />950px<option value="1000px" />1000px
</select></td></tr><tr><td width="250" style="background:#f0f0f0">
6) Code Block Height :</td><td style="background:#f0f0f0"><select id="cbCodeDivHeight"><option selected value="auto" />auto height<option value="100%" />100%<option value="100px" />100px<option value="150px" />150px<option value="200px" />200px<option value="250px" />250px<option value="300px" />300px<option value="350px" />350px<option value="400px" />400px<option value="450px" />450px<option value="500px" />500px<option value="550px" />550px<option value="600px" />600px<option value="650px" />650px<option value="700px" />700px<option value="750px" />750px<option value="800px" />800px<option value="850px" />850px<option value="900px" />900px<option value="950px" />950px<option value="1000px" />1000px
</select></td></tr><td width="250" style="background:#f0f0f0">
7) Alternative Background :</td><td style="background:#f0f0f0"><select id="cbAlternativeBackground"><option selected value="true" />Yes<option value="false" />No</select></td></table></td></tr><tr><td align="right">
<input value="Format Source Code" onclick="showFormattedCode()" type="button" /></td></tr><tr><td style="background:#D3E1EF;color:black;font-family:verdana;font-weight:bolder;border-bottom:1px solid blue;">Copy Formatted Source Code</td></tr><tr><td style="background:#f0f0f0;"><textarea id="txtSourceCodeFormat" style="width:100%;;height:120px;font-family:arial;font-size:10px;"></textarea></td></tr><tr><td align="right">
&nbsp;</td></tr><tr><td style="background:#D3E1EF;color:black;font-family:verdana;font-weight:bolder;border-bottom:1px solid blue;">Preview Of Formatted Code</td></tr></table><div id="divSourceCodeOutPut" style="padding:0px;width:99%;height:100%"></div> <script language="javascript" type="text/javascript">/********************************************************************************************************
* Date : 31/5/2009
* Development : http://ithelpdeskgroup.blogspot.com
* Author : Ad 
********************************************************************************************************/

var sourceCodeTextareaObj = "";
var sourceCodeFormattedTextareaObj = "";
var sourceCodeOutputDivObj = "";
var tabSize = "5";
var language="";
var lineNumbering = true;
var removeBlankLines = true;
var embededStylesheet = true;
var tag=true;
var blockWidth="100%";
var blockHeight="auto";
var alternativeBackground = true;

function CICodeFormatter(sourceCodeTextareaObj,sourceCodeFormattedTextareaObj,sourceCodeOutputDivObj){
	this.sourceCodeTextareaObj = document.getElementById(sourceCodeTextareaObj); 
	this.sourceCodeFormattedTextareaObj = document.getElementById(sourceCodeFormattedTextareaObj);
	this.sourceCodeOutputDivObj=document.getElementById(sourceCodeOutputDivObj);
}

CICodeFormatter.prototype.formatSourceCode=function(lang,tag,tabSize,lineNumbering,removeBlankLines,embededStylesheet,blockWidth,blockHeight,alternativeBackground){
	this.language = lang;
	this.tag = tag;
	this.tabSize =  tabSize;
	this.lineNumbering = lineNumbering;
	this.removeBlankLines = removeBlankLines;
	this.embededStylesheet = embededStylesheet;
	this.blockWidth = blockWidth;
	this.blockHeight = blockHeight;
	this.alternativeBackground = alternativeBackground;
	switch(language){
		case "PHP":
			break;
		default:
			this.formatAnyCode();
			break;
	}
	
}

CICodeFormatter.prototype.getSourceCode = function(){
	var sc = this.sourceCodeTextareaObj.value;
	sc = this.escapeEntities(sc);
	return sc;
}

CICodeFormatter.prototype.escapeEntities = function(str){
	var sc = str;
	var space = "";
	for(var i=0;i<this.tabSize;i++){
		if(this.tag=="true")
			space+="&nbsp;";
		else 
			space+=" ";
	}
	sc = sc.replace(/  /g," ");
	sc = sc.replace(/&#038;/g,"&amp;");
	sc = sc.replace(/</g,"&lt;");
	sc = sc.replace(/>/g,"&gt;");
	sc = sc.replace(/\t/g,space);
	return sc;
	
}

CICodeFormatter.prototype.trim=function(str){
	return str.replace(/^\s+|\s+$/g,"");
}

CICodeFormatter.prototype.rightTrim=function(str){
	return str.replace(/^\s+$/,"");
}

CICodeFormatter.prototype.formatAnyCode = function(){
	var sourceCode = this.getSourceCode();
	var fc="";
	var counter=0;
	var lines = sourceCode.split('\n');
	var bg = "#f0f0f0";
	var mxChars = "0";
	var lineNumber = "";
	var tmp="";
	var lineStyle = "";
	var codeStyle = "";
	var parentStyle = "";
	var styleSheet  = "";
	for(var i=0;i<lines.length;i++){
		bg = (counter % 2 == 0 )?"#f0f0f0":"#ffffff";
		tmp = (this.removeBlankLines=="true")?lines[i].replace(/&nbsp;/g,"").replace(/ /g,""):lines[i];
		if(this.trim(tmp)!="" || this.removeBlankLines=="false"){
			counter++;
			if(this.embededStylesheet == "true"){
				lineStyle = 'style="width:30px;color:gray;"';
				//codeStyle = 'style="white-space : nowrap;width:auto;background:'+bg+';"';
			}
			if(this.lineNumbering == "true") lineNumber='<span '+lineStyle+'>'+(counter)+' :&nbsp;&nbsp;</span>';
			if(this.tag=="true"){
				fc+= '<div class="CICodeLine'+(counter % 2)+'" '+codeStyle+'>'+lineNumber+''+lines[i]+"</div>";
			}else{
				if(this.lineNumbering == "true"){ 
					var space ="";
					fc+=(counter)+':  '+lines[i]+'  \n';
				}else{
					fc+=" "+lines[i]+"  \n";
				}

			}
		}
	}
	//genratting formatted source code..
	if(this.embededStylesheet == "true"){
		//parentStyle='style="font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:'+this.blockWidth+';height:'+this.blockHeight+';overflow:auto;background:#f0f0f0;"';
		parentStyle='style="font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:'+this.blockWidth+';height:'+this.blockHeight+';overflow:auto;background:#f0f0f0;'+((this.tag=="false" && this.alternativeBackground=="true")?";background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi42tbcxz22Ju0Sls8q4lzLd0NFNkqiFFTleb9vl4mYItyFbS4zc8c1oJQ1GK0U39kh3WITVRmD3XlR9KIsM4vIgA3f3NFEb7DWoBVjxTrdjN0Rw9Td552nP9Wq-QMVhaF-KCbAh5uRAAZG/s320/codebg.gif);":"")+'padding:0px;color:#000000;text-align:left;line-height:20px;"';
		
	}else{
		styleSheet = this.getStyleSheet();					
	}
	
	if(this.tag=="true"){
		fc = '<b style="font-family:verdana;font-size:10px;">CODE:</b><br><div style="white-space : nowrap;"><div class="CICodeFormatter" '+parentStyle+'>'+fc+'</div></div>';
	}else{
		//fc = '<div style="font-family:verdana;font-size:10px;font-weight:bolder;text-align:left;width:100%;">CODE:</div><pre class="CICodeFormatter" '+parentStyle+'><code>'+fc+'</code></pre>';
		fc = '<pre '+((this.embededStylesheet == "false")?"class=\"CICodeFormatter\"":"")+' '+parentStyle+'><code '+((this.embededStylesheet == "false")?"class=\"CICodeFormatter\"":"style=\"color:#000000;word-wrap:normal;\"")+'>'+fc+'</code></pre>';
		//fc = '<pre '+((this.embededStylesheet == "false")?"class=\"CICodeFormatter\"":"")+' '+parentStyle+'>'+fc+'</pre>';
	}
	this.sourceCodeFormattedTextareaObj.value=styleSheet+fc;
	this.sourceCodeOutputDivObj.innerHTML = styleSheet+fc;
}

CICodeFormatter.prototype.getStyleSheet = function(){
	var style = "";
	style = "<style type=\"text/css\">\n";
	style +="pre.CICodeFormatter{\n\tfont-family:arial;\n\tfont-size:12px;\n\tborder:1px dashed #CCCCCC;\n\twidth:"+this.blockWidth+";\n\theight:"+this.blockHeight+";\n\toverflow:auto;\n\tbackground:#f0f0f0;\n\tline-height:20px;\n\t"+((this.tag=="false" && this.alternativeBackground=="true")?"background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi42tbcxz22Ju0Sls8q4lzLd0NFNkqiFFTleb9vl4mYItyFbS4zc8c1oJQ1GK0U39kh3WITVRmD3XlR9KIsM4vIgA3f3NFEb7DWoBVjxTrdjN0Rw9Td552nP9Wq-QMVhaF-KCbAh5uRAAZG/s320/codebg.gif);":"")+"\n\tpadding:0px;\n\tcolor:#000000;\n\ttext-align:left;\n}\n";
	style +="pre.CICodeFormatter code{\n\tcolor:#000000;\n\tword-wrap:normal;\n}\n";
	if(this.tag=="true"){
		style +="div.CICodeFormatter span{\n\twidth:30px;\n\tcolor:gray;\n}\n";
		style +="div.CICodeFormatter div.CICodeLine1,div.CICodeLine0{\n\twidth:150em;\n\theight:20px;\n\tbackground:#f0f0f0;\n\twhite-space : nowrap;\n}\n";
		style +="div.CICodeFormatter div.CICodeLine0{\n\tbackground:#ffffff;\n}\n";
	}
	style +="</style>\n";
	return style;
}</script> <script language="Javascript">var cf = new CICodeFormatter("txtSourceCode","txtSourceCodeFormat","divSourceCodeOutPut");
			/*function showFormattedCode(){
				cf.formatSourceCode('',
									document.getElementById('cbDiv').value,
									document.getElementById('cbTabSize').value,
									document.getElementById('cbLineNumbering').value,
									document.getElementById('cbRemoveBlankLines').value,
									document.getElementById('cbEmbededStylesheet').value,
									document.getElementById('cbCodeDivWidth').value,
									document.getElementById('cbCodeDivHeight').value);
			}*/
			function showFormattedCode(){
				cf.formatSourceCode('',
									"false",
									document.getElementById('cbTabSize').value,
									document.getElementById('cbLineNumbering').value,
									document.getElementById('cbRemoveBlankLines').value,
									document.getElementById('cbEmbededStylesheet').value,
									document.getElementById('cbCodeDivWidth').value,
									document.getElementById('cbCodeDivHeight').value,
									document.getElementById('cbAlternativeBackground').value);
			}</script> </div><script>requestAnimationFrame(() => document.body.classList.add( "stk--anim-init" ))</script><script data-cfasync="false" type="text/javascript" id="clever-core">(function (document, window) {
                                        var a, c = document.createElement("script");

                                        c.id = "CleverCoreLoader53917";
                                        c.src = "//scripts.cleverwebserver.com/8d1bc87c813481718c8a00ec89cbc71d.js";

                                        c.async = !0;
                                        c.type = "text/javascript";
                                        c.setAttribute("data-target", window.name);
                                        c.setAttribute("data-callback", "put-your-callback-macro-here");

                                        try {
                                            a = parent.document.getElementsByTagName("script")[0] || document.getElementsByTagName("script")[0];
                                        } catch (e) {
                                            a = !1;
                                        }

                                        a || (a = document.getElementsByTagName("head")[0] || document.getElementsByTagName("body")[0]);
                                        a.parentNode.insertBefore(c, a);
                                    })(document, window);</script> <div class="clever-core-ads"></div> <script type="text/javascript">var infolinks_pid = 3348975; var infolinks_wsid = 0;</script> <script type="text/javascript" src="//resources.infolinks.com/js/infolinks_main.js"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-134768809-1"></script> <script>window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-134768809-1');</script><script id="generate-a11y">!function(){"use strict";if("querySelector"in document&&"addEventListener"in window){var e=document.body;e.addEventListener("mousedown",function(){e.classList.add("using-mouse")}),e.addEventListener("keydown",function(){e.classList.remove("using-mouse")})}}();</script><script id='copy-the-code-js-extra'>var copyTheCode = {"copy_content_as":"","previewMarkup":"<h2>Hello World<\/h2>","buttonMarkup":"<button class=\"copy-the-code-button\" title=\"\"><\/button>","buttonSvg":"<svg viewBox=\"-21 0 512 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"m186.667969 416c-49.984375 0-90.667969-40.683594-90.667969-90.667969v-218.664062h-37.332031c-32.363281 0-58.667969 26.300781-58.667969 58.664062v288c0 32.363281 26.304688 58.667969 58.667969 58.667969h266.664062c32.363281 0 58.667969-26.304688 58.667969-58.667969v-37.332031zm0 0\"><\/path><path d=\"m469.332031 58.667969c0-32.40625-26.261719-58.667969-58.664062-58.667969h-224c-32.40625 0-58.667969 26.261719-58.667969 58.667969v266.664062c0 32.40625 26.261719 58.667969 58.667969 58.667969h224c32.402343 0 58.664062-26.261719 58.664062-58.667969zm0 0\"><\/path><\/svg>","selectors":[{"selector":"pre","style":"button","button_text":"Copy","button_title":"Copy to Clipboard","button_copy_text":"Copied!","button_position":"inside"}],"selector":"pre","settings":{"selector":"pre","button-text":"Copy","button-title":"Copy to Clipboard","button-copy-text":"Copied!","button-position":"inside"},"string":{"title":"Copy to Clipboard","copy":"Copy","copied":"Copied!"},"image-url":"https:\/\/techly360.com\/wp-content\/plugins\/copy-the-code\/\/assets\/images\/copy-1.svg"};</script> <script id='generate-smooth-scroll-js-extra'>var smooth = {"elements":[".smooth-scroll","li.smooth-scroll a"],"duration":"800"};</script> <script id='socialsnap-js-js-extra'>var socialsnap_script = {"ajaxurl":"https:\/\/techly360.com\/wp-admin\/admin-ajax.php","on_media_width":"250","on_media_height":"250","nonce":"2a00154c9d","post_id":"2019","click_tracking":""};</script> <script id='smush-lazy-load-js-before'>window.lazySizesConfig = window.lazySizesConfig || {};

window.lazySizesConfig.lazyClass    = 'lazyload';
window.lazySizesConfig.loadingClass = 'lazyloading';
window.lazySizesConfig.loadedClass  = 'lazyloaded';

lazySizesConfig.loadMode = 1;</script> <script id='smush-lazy-load-js-after'>lazySizes.init();</script> <!--[if lte IE 11]> <script src='https://techly360.com/wp-content/themes/generatepress/assets/js/classList.min.js?ver=3.1.3' id='generate-classlist-js'></script> <![endif]--> <script id='generate-menu-js-extra'>var generatepressMenu = {"toggleOpenedSubMenus":"1","openSubMenuLabel":"Open Sub-Menu","closeSubMenuLabel":"Close Sub-Menu"};</script> <script id='generate-navigation-search-js-extra'>var generatepressNavSearch = {"open":"Open Search Bar","close":"Close Search Bar"};</script> <script id='generate-back-to-top-js-extra'>var generatepressBackToTop = {"smooth":"1"};</script> <div id="ss-copy-popup" class="ss-popup-overlay"><div class="ss-popup"><div class="ss-popup-heading">
<span>Copy link</span>
<a href="#" id="ss-close-share-networks-modal" class="ss-close-modal" rel="nofollow noopener"><i class="ss ss-close"></i></a></div><div class="ss-popup-content"><div class="ss-copy-action">
<input type="text" readonly="readonly" value="https://techly360.com/source-code-formatter-tool/" class="ss-copy-action-field" aria-label="Copy" />
<a href="#" class="ss-button" rel="nofollow noopener">Copy<span class="ss-share-network-tooltip">Copied</span></a>
<i class="ss ss-copy"></i></div><div class="ss-powered-by">Powered by <a href="https://socialsnap.com/?utm_source=WordPress&amp;utm_medium=link&amp;utm_campaign=inthewild" target="_blank" rel="nofollow noopener"><i class="ss ss-socialsnap"></i>Social Snap</a></div></div></div></div> <script src='https://stats.wp.com/e-202212.js' defer></script> <script>_stq = window._stq || [];
	_stq.push([ 'view', {v:'ext',j:'1:10.7',blog:'168130230',post:'2019',tz:'5.5',srv:'techly360.com'} ]);
	_stq.push([ 'clickTrackerInit', '168130230', '2019' ]);</script> <script data-optimized="1" src="https://techly360.com/wp-content/litespeed/js/3859986585aacd5e95f33d546305c31b.js?ver=1d5fb"></script></body></html>


अब रही बात की इस Script को कहां पर Paste करना है कैसे Source Code Generator Website बनाना है। तो Source Code Generator Website बनाने के लिए आपको नीचे दिए गए Steps को पुरा करना होगा।


Steps to Create Source Code Generator Website:-


● अब आप Blogger के Dashboard में जाए या फिर blogger लिखकर Search करे।

● आप New Blog पर Click करें और फिर नाम Create कर Subdomain Create करके Save करें।

● यहाँ तक आपका काम हो गया है आपका Blogger का Website Create हो गया है।

● अब आप Theme पर Click कर Simple Blog के Theme को Choose कर Apply करें।

● अब Arrow पर Click कर Mobile Settings में जाकर Mobile View से Desktop View कर दें।

● फिर से Arrow पर Click करके Switch to first generation classic theme पर Click करके Without A backup को Choose करे।

● अब Edit Html पर Click कर Select All करके Code को Paste कर दे।

● अब Save के Icon पर Click कर Save कर दे।

Congratulations your Source Code Generator Website has been created successfully.


Important Notice:- अगर आपको इसे अपने दुसरे Site पर लगाना है तो इस Tool का Use करे।

IFrame Generator Tool

निस्कर्ष:- तो दोस्तों आपको Source Code Generator Script For Blogger के बारे में यह Article  कैसा लगा Comment में जरूर बताएं। या आप भी किसी प्रकार का सुझाव देना चाहते हैं, तो आप नीचे Comment Box में अपनी राय हमसे Share कर सकते हैं।

Post a Comment

0 Comments