Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Posting Error #481

Closed
masoodalam51 opened this issue Feb 5, 2014 · 2 comments
Closed

Code Posting Error #481

masoodalam51 opened this issue Feb 5, 2014 · 2 comments

Comments

@masoodalam51
Copy link

I want to switch my website from octopress to hexo,
in my website i want to display code,but when i insert code into post above code all text is render without any formating and below code all is fine,Any solution for it.

Check Screen Shots Below:
before posting code

after posting code

testing it on local server.

@tommy351
Copy link
Member

tommy351 commented Feb 6, 2014

Try escape the content with raw tag.

{% raw %}
content
{% endraw %}

@masoodalam51
Copy link
Author

thanks for your help,its a octopress tags faults which is present in my articles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants