Alex S
Alex S

Reputation: 49

How to post script at blogger, create script view at template

Someone know how to create script view at blogger.com? i need to post script like this picture at my blog

enter image description here

Upvotes: 0

Views: 1627

Answers (3)

user6144987
user6144987

Reputation:

To display codes in blogger posts, from your editor press Quote button and insert your code. this will put your code between <blockquote> </blockquote> image description here

and you can style the <blockquote> with CSS.

Upvotes: 0

Engkus Kusnadi
Engkus Kusnadi

Reputation: 2506

Do you mean add a script too your blog? It can be done with it

With gadget

choose 'Tata Letak' menu on left, and on your page view find 'Tambah Gadget' and choose 'HTML/Javascript' then add your script.

Edit whole page

Or you can edit your whole page, choose 'Template' menu on left and click 'edit HTML' button, then add your script.

Then you can add a syntax highlighter, depending on this article

http://www.bungfrangki.com/2015/07/membuat-syntax-highlighter-otomatis-di-blogger.html http://www.mybloggertricks.com/2015/04/SyntaxHighlighter-Shortcode-for-Blogspot.html

Upvotes: 2

SAM
SAM

Reputation: 281

I guess it should have code option but If it doesn't When you are going to add new post there's an option to see the HTML codes in your post Go there and put your codes in <code> tag.

Upvotes: 0

Related Questions