Jump to content
php.lv forumi

BBCode


Kemito

Recommended Posts

Sveiki.

 

Tātad sekojošu BBkodu kā "color" šajā gadījumā ir neveikli uztaisīts man te. Problēma tāda, ka notiek replace uz color=red, kur red tiek pievienots kā style attribūts, bet problēma ir tāda, ka sekojot kļūdai, tas ir - color=red;width:10000px; utt. garš liels melns klucis visu sarežģī.

Labojums tam? Nevaru tā īsti aizdomāties, bet nu tomēr, varbūt kāds savādāk taisa vai ko, vai attiecīgi šādam veidam ir labojums vai vienkārši ir jāveido savādākā stilā?

 

Paldies.

Link to comment
Share on other sites

Nu jā, jā. Bet nesaki, ka Markdown nav populārs.

 

Markdown users

  • Stack Overflow and other Stack Exchange Network sites use a modified dialect of Markdown as its default formatting system.[4][5]
  • Posterous offers Markdown as a markup option.[6]
  • Reddit uses Markdown.[7]
  • GitHub uses a dialect of Markdown for formatting comments, messages, etc.[8][9] John Gruber has described this dialect as a "superior variant" for "situations like user-submitted comments".[10]
  • Bitbucket offers Markdown as an option for markup in project's README.[11]
  • Instiki uses a Markdown extension to wiki syntax. The extended syntax is called Maruku.[12]
  • Squarespace offers Markdown as a blog entry option.[13]
  • Tumblr allows Markdown edits to posts.[14]
  • The WordPress plugin system utilizes a dialect of Markdown in "readme.txt" files submitted by developers, and has plugins for Markdown.[15]
  • G+ Tweaks v0.33, a Greasemonkey user script for adding functionality to Google's G+ social networking site.[16]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...